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

Disassembly:
sub esp, 0x7b4
mov eax, dword [0x1004e3b0]
xor eax, esp
mov dword [esp + 0x7b0], eax
mov eax, dword [esp + 0x7bc]
push ebp
mov ebp, dword [esp + 0x7bc]
push esi
push edi
mov esi, edx
push 0x6c
lea edx, [esp + 0x100]
push 0
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
call sub.MSVCR100.dll_memset
mov ecx, 9
lea edi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov ecx, 9
lea edi, [esp + 0x198]
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, 0x1004c730
lea edi, [esp + 0x1bc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x204]
add esp, 0xc
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], ecx
jmp 0x10036b54
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
shr eax, 1
imul eax, eax, 0x6c
lea edx, [ecx + 0x24]
mov dword [esp + 0x20], edx
lea edx, [esp + eax + 0x144]
push edx
lea esi, [ecx - 0x24]
push ecx
mov ecx, dword [esp + 0x28]
lea edi, [esp + eax + 0x128]
lea edx, [esp + eax + 0x104]
call fcn.100359f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x24
push eax
lea edx, [ecx + 0x90]
push esi
push edx
mov edx, dword [esp + 0x34]
lea edi, [ecx + 0x6c]
lea esi, [ecx + 0x48]
call fcn.10035b60
mov eax, dword [esp + 0x28]
add dword [esp + 0x24], 0xd8
add eax, 2
add esp, 0x18
mov dword [esp + 0x10], eax
cmp eax, 0x10
jl 0x10036b50
xor eax, eax
mov dword [ebp], eax
mov ecx, dword [esp + 0x14]
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
xor edx, edx
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x10036c38
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x10036c77
push ecx
push ebx
mov edi, ebx
mov edx, ebp
mov esi, ebp
call fcn.100359f0
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
mov edx, ebp
call fcn.100359f0
mov ecx, dword [esp + 0x24]
push ecx
push ebx
mov edx, ebp
call fcn.100359f0
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
mov edx, ebp
call fcn.100359f0
mov edx, dword [esp + 0x30]
add esp, 0x20
mov ecx, dword [esp + 0x7cc]
mov eax, edx
shr eax, 1
sub ecx, eax
movzx eax, byte [ecx + 0x1f]
test dl, 1
je 0x10036c92
and eax, 0xf
jmp 0x10036c95
shr eax, 4
push eax
lea ecx, [esp + 0x100]
lea edx, [esp + 0x70]
lea esi, [esp + 0x4c]
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], eax
call fcn.10036340
mov ecx, dword [esp + 0x18]
push edx
mov eax, esi
push eax
push ecx
lea edx, [esp + 0xc4]
push ebp
push edx
mov edx, edi
mov ecx, ebx
lea edi, [esp + 0xf0]
lea esi, [esp + 0xa8]
call fcn.10035d20
mov edx, dword [esp + 0x24]
mov eax, dword [ebp]
mov ecx, eax
xor ecx, dword [esp + 0x3c]
add esp, 0x18
and ecx, edx
xor ecx, eax
mov dword [ebp], ecx
mov eax, dword [ebp + 4]
mov ecx, eax
xor ecx, dword [esp + 0x28]
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 4], ecx
mov ecx, eax
xor ecx, dword [esp + 0x2c]
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov ecx, eax
xor ecx, dword [esp + 0x30]
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
mov ecx, eax
xor ecx, dword [esp + 0x34]
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], ecx
mov ecx, eax
xor ecx, dword [esp + 0x38]
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x40]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov dword [ebp + 0x20], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x48]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov dword [ebx], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x4c]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x50]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x54]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x58]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x5c]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x60]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x68]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x20], ecx
mov ecx, dword [eax]
xor esi, ecx
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 4]
mov dword [eax], esi
mov esi, dword [esp + 0x70]
xor esi, ecx
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x74]
xor esi, ecx
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov esi, ecx
xor esi, dword [esp + 0x78]
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 0xc], esi
mov esi, ecx
xor esi, dword [esp + 0x7c]
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], esi
mov esi, ecx
xor esi, dword [esp + 0x80]
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x14], esi
mov esi, ecx
xor esi, dword [esp + 0x84]
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], esi
mov esi, ecx
xor esi, dword [esp + 0x88]
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x1c], esi
mov esi, ecx
xor esi, dword [esp + 0x8c]
and esi, edx
xor esi, ecx
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x18]
dec esi
shr esi, 0x1f
dec esi
mov dword [esp + 0x1c], esi
mov ecx, edx
not ecx
and ecx, esi
mov esi, dword [ebp]
mov edi, esi
xor edi, dword [esp + 0x90]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 4]
mov dword [ebp], edi
mov edi, esi
xor edi, dword [esp + 0x94]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 8]
mov dword [ebp + 4], edi
mov edi, esi
xor edi, dword [esp + 0x98]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], edi
mov edi, esi
xor edi, dword [esp + 0x9c]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov edi, esi
xor edi, dword [esp + 0xa0]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x10], edi
mov edi, esi
xor edi, dword [esp + 0xa4]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 0x18]
mov dword [ebp + 0x14], edi
mov edi, esi
xor edi, dword [esp + 0xa8]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp + 0x18], edi
mov edi, esi
xor edi, dword [esp + 0xac]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 0x20]
mov dword [ebp + 0x1c], edi
mov edi, dword [esp + 0xb0]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebp + 0x20], edi
mov esi, dword [ebx]
mov edi, dword [esp + 0xd8]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebx], edi
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0xdc]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebx + 4], edi
mov esi, dword [ebx + 8]
mov edi, esi
xor edi, dword [esp + 0xe0]
and edi, ecx
xor edi, esi
mov dword [ebx + 8], edi
mov esi, dword [ebx + 0xc]
mov edi, esi
xor edi, dword [esp + 0xe4]
and edi, ecx
xor edi, esi
mov dword [ebx + 0xc], edi
mov esi, dword [ebx + 0x10]
mov edi, esi
xor edi, dword [esp + 0xe8]
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x10], edi
mov edi, esi
xor edi, dword [esp + 0xec]
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x18]
mov dword [ebx + 0x14], edi
mov edi, esi
xor edi, dword [esp + 0xf0]
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x1c]
mov dword [ebx + 0x18], edi
mov edi, esi
xor edi, dword [esp + 0xf4]
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x1c], edi
mov edi, esi
xor edi, dword [esp + 0xf8]
and edi, ecx
xor edi, esi
mov dword [ebx + 0x20], edi
mov esi, dword [eax]
mov edi, esi
xor edi, dword [esp + 0xb4]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 4]
mov dword [eax], edi
mov edi, esi
xor edi, dword [esp + 0xb8]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 8]
mov dword [eax + 4], edi
mov edi, esi
xor edi, dword [esp + 0xbc]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0xc]
mov dword [eax + 8], edi
mov edi, esi
xor edi, dword [esp + 0xc0]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x10]
mov dword [eax + 0xc], edi
mov edi, esi
xor edi, dword [esp + 0xc4]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x14]
mov dword [eax + 0x10], edi
mov edi, esi
xor edi, dword [esp + 0xc8]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x18]
mov dword [eax + 0x14], edi
mov edi, esi
xor edi, dword [esp + 0xcc]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x1c]
mov dword [eax + 0x18], edi
mov edi, esi
xor edi, dword [esp + 0xd0]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x20]
mov dword [eax + 0x1c], edi
mov edi, esi
xor edi, dword [esp + 0xd4]
and edi, ecx
xor edi, esi
mov dword [eax + 0x20], edi
mov eax, dword [esp + 0x1c]
not eax
and edx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
cmp eax, 0x40
jl 0x10036c30
mov ecx, dword [esp + 0x7bc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1003d054
add esp, 0x7b4
ret