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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x104d0854
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov cl, 5
mov dword [esp + 0x18], esi
call fcn.102e21a0
mov ebx, eax
mov dword [esp + 0x34], ebx
and dword [esp + 0x78], 0
mov ecx, edi
push esi
call fcn.10311cb9
mov cl, 5
call fcn.102e21a0
mov dword [esp + 0x28], eax
mov byte [esp + 0x78], 1
mov cl, 5
call fcn.102e21a0
mov dword [esp + 0x2c], eax
mov byte [esp + 0x78], 2
mov cl, 5
call fcn.102e21a0
mov esi, eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x78], 3
lea ecx, [edi + 0x40]
push ecx
call fcn.1030a63d
push eax
lea ecx, [edi + 0x38]
call fcn.1030383f
lea ecx, [edi + 0x48]
mov eax, dword [ecx]
mov dword [esp + 0x30], ecx
push dword [eax + 4]
call fcn.1008c2cb
lea ecx, [edi + 0x48]
mov eax, dword [ecx]
push 0x105e498c
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov eax, dword [ecx]
mov dword [eax + 8], eax
and dword [ecx + 4], 0
lea ecx, [esp + 0x3c]
call fcn.10079d71
mov byte [esp + 0x78], 4
lea eax, [esp + 0x50]
push eax
call fcn.103139d4
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1008628e
pop ecx
pop ecx
mov byte [esp + 0x17], al
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
push 0
push 1
call fcn.1007a42c
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x38]
push 0
push 1
call fcn.1007a42c
cmp byte [esp + 0x17], 0
je 0x103137b9
push dword [edi + 0x1c]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
call fcn.10318103
pop ecx
mov byte [esp + 0x78], 6
lea ecx, [edi + 0x38]
push eax
call fcn.102904b7
mov byte [esp + 0x78], 3
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x103137ac
call fcn.10076eba
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x14]
mov byte [edi + 0xe], 1
mov dword [edi + 0x1c], eax
push 0x105e4994
lea ecx, [esp + 0x3c]
call fcn.10079d71
mov byte [esp + 0x78], 8
lea eax, [esp + 0x50]
push eax
call fcn.10313a82
mov byte [esp + 0x78], 9
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1008628e
pop ecx
pop ecx
mov byte [esp + 0x17], al
mov byte [esp + 0x78], 8
lea ecx, [esp + 0x50]
push 0
push 1
call fcn.1007a42c
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x38]
push 0
push 1
call fcn.1007a42c
cmp byte [esp + 0x17], 0
je 0x10313852
push dword [edi + 0x1c]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x24]
call fcn.10318103
pop ecx
mov byte [esp + 0x78], 0xa
lea ecx, [edi + 0x40]
push eax
call fcn.102904b7
mov byte [esp + 0x78], 3
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10313852
call fcn.10076eba
lea eax, [esp + 0x50]
push eax
call fcn.10313b2e
mov byte [esp + 0x78], 0xc
mov edi, dword [esp + 0x18]
mov ecx, edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.102e4e40
mov ecx, dword [edi]
call fcn.1007fc0a
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x10313888
mov byte [esp + 0x17], 0
jmp 0x103138d3
mov ecx, dword [ecx]
mov eax, dword [ecx]
mov al, byte [eax]
cmp al, 4
jne 0x10313881
lea eax, [esp + 0x18]
push eax
call fcn.102e51d0
mov byte [esp + 0x78], 0xd
lea ecx, [esp + 0x1c]
push eax
call fcn.10080908
mov byte [esp + 0x78], 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x103138ca
dec dword [eax + 0x48]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x48], 0
jne 0x103138ca
call fcn.102e2160
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x17], 1
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x50]
push 0
push 1
call fcn.1007a42c
cmp byte [esp + 0x17], 0
je 0x1031395c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.1008352d
lea ecx, [esp + 0x1c]
call fcn.100808ea
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.1007fc0a
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x1031395c
mov esi, dword [esp + 0x30]
mov ebx, eax
mov ecx, dword [edi]
call fcn.10088f13
xor ecx, ecx
cmp eax, 3
cmovbe ecx, eax
movzx eax, byte [0x10786d4a]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.10313bdc
add edi, 4
cmp edi, ebx
jne 0x10313920
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov byte [esp + 0x78], 2
test esi, esi
je 0x10313971
dec dword [esi + 0x48]
jne 0x10313971
mov ecx, esi
call fcn.102e2160
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10313988
dec dword [ecx + 0x48]
jne 0x10313988
call fcn.102e2160
mov byte [esp + 0x78], 0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1031399f
dec dword [ecx + 0x48]
jne 0x1031399f
call fcn.102e2160
or dword [esp + 0x78], 0xffffffff
test ebx, ebx
je 0x103139b4
dec dword [ebx + 0x48]
jne 0x103139b4
mov ecx, ebx
call fcn.102e2160
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret 4