Function at 0x10199230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
test byte [esp + 0x4c], 0x10
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], ebx
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x20], 0
jne 0x10199295
test dword [esi + 0x2e0], 0x8000
jne 0x10199295
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], 1
test ebp, ebp
jne 0x101992af
xor ebx, ebx
mov dword [esp + 0x10], 1
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
jmp 0x10199312
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x101992a7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x10], 0
cmp dword [ebp + 0x30], 0
je 0x101992c9
push ebp
push 0x1d
push edi
call fcn.100f7060
add esp, 0xc
test eax, eax
jne 0x1019984e
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
je 0x101992fc
mov esi, dword [ebp]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x9c]
and edx, 0x40
mov ecx, dword [ecx + 0x1c]
test edx, edx
jne 0x101992f2
add ecx, dword [esi + 0x28]
cmp dword [ecx + 0x1c], 0
jne 0x101992e8
mov esi, dword [esp + 0x50]
add ecx, 0x14
cmp dword [ecx], 0
jne 0x1019930f
cmp dword [ecx + 4], 0
cmove ebx, ecx
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
cmp dword [eax + 0xc], 0xffffffff
jne 0x10199330
push esi
call fcn.1015e920
add esp, 4
test eax, eax
jne 0x1019984e
mov eax, 0x44
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x10199358
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x34]
add eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
cmp dword [esp + 0x10], 0
jne 0x1019938a
test ebp, ebp
je 0x1019938a
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push edi
call fcn.100dc800
add esp, 0xc
test eax, eax
jne 0x1019984e
mov esi, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], esi
jmp 0x101993a5
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.100dc800
add esp, 0xc
test eax, eax
jne 0x1019984e
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x101993c3
push eax
sub esi, eax
add esi, dword [esp + 0x38]
push 0
push esi
call fcn.10220d70
mov esi, dword [esp + 0x3c]
add esp, 0xc
test byte [edi + 0x9c], 4
jne 0x101993d4
mov dword [esi], 0x1d000000
jmp 0x101993da
mov dword [esi], 0x1d
test byte [edi + 0x9c], 4
jne 0x10199400
movzx eax, byte [esp + 0x17]
mov byte [esi + 4], al
movzx eax, byte [esp + 0x16]
mov byte [esi + 5], al
movzx eax, byte [esp + 0x15]
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x10199403
mov dword [esi + 4], ebx
test byte [edi + 0x9c], 4
mov ecx, dword [esp + 0x1c]
jne 0x1019942d
movzx eax, byte [ecx + 3]
mov byte [esi + 8], al
movzx eax, byte [ecx + 2]
mov byte [esi + 9], al
movzx eax, byte [ecx + 1]
mov byte [esi + 0xa], al
movzx eax, byte [ecx]
mov byte [esi + 0xb], al
jmp 0x10199432
mov eax, dword [ecx]
mov dword [esi + 8], eax
test byte [edi + 0x9c], 4
jne 0x10199459
movzx eax, byte [ecx + 7]
mov byte [esi + 0xc], al
movzx eax, byte [ecx + 6]
mov byte [esi + 0xd], al
movzx eax, byte [ecx + 5]
mov byte [esi + 0xe], al
movzx eax, byte [ecx + 4]
mov byte [esi + 0xf], al
jmp 0x1019945f
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x54]
mov ecx, dword [eax + 0xc]
jne 0x1019948f
mov eax, ecx
mov byte [esi + 0x13], cl
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x12], al
jmp 0x10199492
mov dword [esi + 0x10], ecx
test byte [edi + 0x9c], 4
jne 0x101994b9
mov al, byte [esp + 0x63]
mov byte [esi + 0x14], al
mov al, byte [esp + 0x62]
mov byte [esi + 0x15], al
mov al, byte [esp + 0x61]
mov byte [esi + 0x16], al
mov al, byte [esp + 0x60]
mov byte [esi + 0x17], al
jmp 0x101994c0
mov eax, dword [esp + 0x60]
mov dword [esi + 0x14], eax
test byte [edi + 0x9c], 4
jne 0x101994ea
mov ecx, dword [esp + 0x64]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x19], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x1a], al
mov byte [esi + 0x1b], cl
jmp 0x101994f1
mov eax, dword [esp + 0x64]
mov dword [esi + 0x18], eax
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x10199590
test ebp, ebp
je 0x10199536
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x10199516
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x10199520
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x10199536
push ebx
push dword [esp + 0x54]
push edi
call fcn.100f91e0
add esp, 0xc
test eax, eax
jne 0x1019984e
test byte [edi + 0x9c], 4
jne 0x1019955c
movzx eax, byte [ebx + 3]
mov byte [esi + 0x1c], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x1d], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x1e], al
movzx eax, byte [ebx]
mov byte [esi + 0x1f], al
jmp 0x10199561
mov eax, dword [ebx]
mov dword [esi + 0x1c], eax
test byte [edi + 0x9c], 4
jne 0x10199588
movzx eax, byte [ebx + 7]
mov byte [esi + 0x20], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x21], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x22], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x23], al
jmp 0x10199598
mov eax, dword [ebx + 4]
mov dword [esi + 0x20], eax
jmp 0x10199598
xorps xmm0, xmm0
movq qword [esi + 0x1c], xmm0
test byte [edi + 0x9c], 4
jne 0x101995c2
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x25], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], cl
jmp 0x101995c9
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x24], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x10199668
test ebp, ebp
je 0x1019960e
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x101995ee
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x101995f8
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x1019960e
push ebx
push dword [esp + 0x54]
push edi
call fcn.100f91e0
add esp, 0xc
test eax, eax
jne 0x1019984e
test byte [edi + 0x9c], 4
jne 0x10199634
movzx eax, byte [ebx + 3]
mov byte [esi + 0x28], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x29], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x2a], al
movzx eax, byte [ebx]
mov byte [esi + 0x2b], al
jmp 0x10199639
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
test byte [edi + 0x9c], 4
jne 0x10199660
movzx eax, byte [ebx + 7]
mov byte [esi + 0x2c], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x2d], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x2e], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x2f], al
jmp 0x10199670
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], eax
jmp 0x10199670
xorps xmm0, xmm0
movq qword [esi + 0x28], xmm0
test byte [edi + 0x9c], 4
jne 0x1019969a
mov ecx, dword [esp + 0x74]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x31], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x32], al
mov byte [esi + 0x33], cl
jmp 0x101996a1
mov eax, dword [esp + 0x74]
mov dword [esi + 0x30], eax
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x10199740
test ebp, ebp
je 0x101996e6
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x101996c6
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x101996d0
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x101996e6
push ebx
push dword [esp + 0x54]
push edi
call fcn.100f91e0
add esp, 0xc
test eax, eax
jne 0x1019984e
test byte [edi + 0x9c], 4
jne 0x1019970c
movzx eax, byte [ebx + 3]
mov byte [esi + 0x34], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x35], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x36], al
movzx eax, byte [ebx]
mov byte [esi + 0x37], al
jmp 0x10199711
mov eax, dword [ebx]
mov dword [esi + 0x34], eax
test byte [edi + 0x9c], 4
jne 0x10199738
movzx eax, byte [ebx + 7]
mov byte [esi + 0x38], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x39], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x3a], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x3b], al
jmp 0x10199748
mov eax, dword [ebx + 4]
mov dword [esi + 0x38], eax
jmp 0x10199748
xorps xmm0, xmm0
movq qword [esi + 0x34], xmm0
test byte [edi + 0x9c], 4
jne 0x1019976f
mov al, byte [esp + 0x7f]
mov byte [esi + 0x3c], al
mov al, byte [esp + 0x7e]
mov byte [esi + 0x3d], al
mov al, byte [esp + 0x7d]
mov byte [esi + 0x3e], al
mov al, byte [esp + 0x7c]
mov byte [esi + 0x3f], al
jmp 0x10199776
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x3c], eax
test byte [edi + 0x9c], 4
jne 0x101997a3
mov ecx, dword [esp + 0x80]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x40], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x41], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x42], al
mov byte [esi + 0x43], cl
jmp 0x101997ad
mov eax, dword [esp + 0x80]
mov dword [esi + 0x40], eax
cmp dword [esp + 0x10], 0
jne 0x101997ef
test ebp, ebp
je 0x101997ef
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [ebp + 0x40]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x101997ce
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x18]
pop edi
or dword [eax + 0x5c], 4
mov eax, dword [esp + 0x54]
mov dword [eax], esi
mov dword [eax + 4], 1
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
or eax, 8
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push edi
call fcn.101252a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10199834
test ebp, ebp
je 0x10199834
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
cmp ebx, edx
je 0x10199834
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [esp + 0x10], 0
jne 0x1019983f
test ebp, ebp
jne 0x1019984c
push dword [esp + 0x30]
push edi
call fcn.100dc7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret