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

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x4c]
xor ecx, ecx
test byte [esp + 0x50], 0x10
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
je 0x101829e6
test edi, edi
jne 0x1018296e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x30], ecx
je 0x1018298d
push edi
push dword [esp + 0x78]
push ebp
call fcn.100f7060
add esp, 0xc
test eax, eax
jne 0x10182da0
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
je 0x101829c0
mov esi, dword [edi]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x9c]
and edx, 0x40
nop dword [eax + eax]
mov ecx, dword [ecx + 0x1c]
test edx, edx
jne 0x101829ba
add ecx, dword [esi + 0x28]
cmp dword [ecx + 0x1c], 0
jne 0x101829b0
add ecx, 0x14
cmp dword [ecx], 0
jne 0x101829d3
cmp dword [ecx + 4], 0
cmove ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x60]
test ebx, ebx
jne 0x10182a10
xor esi, esi
jmp 0x10182a13
mov dword [esp + 0x14], 1
test edi, edi
jne 0x10182972
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], 1
jmp 0x101829da
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x10182a1f
xor edx, edx
jmp 0x10182a22
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x10182a2e
xor ecx, ecx
jmp 0x10182a31
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10182a3c
mov eax, dword [eax + 4]
add ecx, 0x24
add eax, ecx
mov ecx, dword [ebp + 0x6c]
add eax, edx
add eax, esi
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x10182a68
push eax
mov eax, dword [ecx]
call eax
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
cmp dword [esp + 0x14], 0
jne 0x10182a9a
test edi, edi
je 0x10182a9a
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push ebp
call fcn.100dc800
add esp, 0xc
test eax, eax
jne 0x10182da0
mov esi, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], esi
jmp 0x10182ab5
lea ecx, [esp + 0x30]
push ecx
push eax
push ebp
call fcn.100dc800
add esp, 0xc
test eax, eax
jne 0x10182da0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10182ad3
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 [ebp + 0x9c], 4
jne 0x10182af9
mov al, byte [esp + 0x77]
mov byte [esi], al
mov al, byte [esp + 0x76]
mov byte [esi + 1], al
mov al, byte [esp + 0x75]
mov byte [esi + 2], al
mov eax, dword [esp + 0x74]
mov byte [esi + 3], al
jmp 0x10182aff
mov eax, dword [esp + 0x74]
mov dword [esi], eax
test byte [ebp + 0x9c], 4
jne 0x10182b29
movzx eax, byte [esp + 0x13]
mov byte [esi + 4], al
movzx eax, byte [esp + 0x12]
mov byte [esi + 5], al
movzx eax, byte [esp + 0x11]
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
mov byte [esi + 7], al
jmp 0x10182b30
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
test byte [ebp + 0x9c], 4
mov ecx, dword [esp + 0x1c]
jne 0x10182b5a
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 0x10182b5f
mov eax, dword [ecx]
mov dword [esi + 8], eax
test byte [ebp + 0x9c], 4
jne 0x10182b86
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 0x10182b8c
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x9c]
and eax, 4
test ebx, ebx
jne 0x10182ba1
mov dword [esi + 0x10], ebx
add esi, 0x14
jmp 0x10182bdd
test eax, eax
jne 0x10182bc3
movzx eax, byte [ebx + 7]
mov byte [esi + 0x10], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x11], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x12], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x13], al
jmp 0x10182bc9
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
push dword [ebx + 4]
add esi, 0x14
push dword [ebx]
push esi
call fcn.102207f0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [esp + 0x64]
and eax, 4
test ebx, ebx
jne 0x10182bf5
mov dword [esi], ebx
add esi, 4
jmp 0x10182c2f
test eax, eax
jne 0x10182c16
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x10182c1b
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.102207f0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [esp + 0x68]
and eax, 4
test ebx, ebx
jne 0x10182c47
mov dword [esi], ebx
add esi, 4
jmp 0x10182c81
test eax, eax
jne 0x10182c68
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x10182c6d
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.102207f0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [esp + 0x6c]
and eax, 4
test ebx, ebx
jne 0x10182c99
mov dword [esi], ebx
add esi, 4
jmp 0x10182cd3
test eax, eax
jne 0x10182cba
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x10182cbf
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.102207f0
add esp, 0xc
add esi, dword [ebx + 4]
test byte [ebp + 0x9c], 4
jne 0x10182cf9
mov al, byte [esp + 0x73]
mov byte [esi], al
mov al, byte [esp + 0x72]
mov byte [esi + 1], al
mov al, byte [esp + 0x71]
mov byte [esi + 2], al
mov al, byte [esp + 0x70]
mov byte [esi + 3], al
jmp 0x10182cff
mov eax, dword [esp + 0x70]
mov dword [esi], eax
cmp dword [esp + 0x14], 0
jne 0x10182d41
test edi, edi
je 0x10182d41
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x10182d20
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov eax, dword [edi + 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 ebp
call fcn.101252a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10182d86
test edi, edi
je 0x10182d86
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 0x10182d86
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [esp + 0x14], 0
jne 0x10182d91
test edi, edi
jne 0x10182d9e
push dword [esp + 0x30]
push ebp
call fcn.100dc7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret