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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 8]
mov dword [esp + 0x9c], 0x4375a454
mov dword [esp + 0x68], 0x628d5d29
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov esi, ecx
imul esi, edx
mov dword [esp + 0x44], eax
mov eax, ecx
mov dword [esp + 0x40], edx
mul ecx
add edx, esi
add edx, esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0x3c], ecx
jmp 0x4037a6
mov eax, 0x2b95bae8
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x3c]
mov ebx, esi
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x37], bl
call fcn.004044b0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], eax
add ecx, 0x1bc5
mov eax, dword [esp + 0x44]
mov dword [eax], ecx
mov dword [eax + 4], 0x63a00
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
shld edx, esi, 4
shl esi, 4
imul ecx, ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], esi
mov edx, dword [esp + 0x80]
imul edx, edx
imul edx, ecx
mov ecx, 0x3997a6bc
xor esi, esi
mov bl, byte [esp + 0x37]
mov dword [esp + 0x30], ecx
mov cl, bl
mov edi, esi
mov eax, dword [esp + 0x30]
shld edi, eax, cl
mov cl, bl
shl eax, cl
test bl, 0x20
cmovne edi, eax
cmovne eax, esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x94]
imul edx, eax
imul edx, edx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x98]
and eax, eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x3c]
add eax, eax
mov edx, dword [esp + 0x40]
adc edx, edx
mov esi, dword [esp + 0x7c]
add esi, 0x6e
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [eax + 8], esi
mov edx, dword [esp + 0x68]
sub edx, 0xa111f0d
mov esi, dword [esp + 0x38]
cmp esi, edx
jbe 0x4038b0
jmp 0x4038b0
mov eax, 0x33883081
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, section..data
mov ecx, dword [esp + 0x78]
imul edx, ecx, 0x1c
mov esi, dword [esp + 0x70]
mov edx, dword [edx + 0x406004]
mov edi, dword [esp + 0x40]
mov dword [esp + 0xa4], edi
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x80], edx
imul edx, ecx, 0x1c
add eax, edx
mov eax, dword [eax]
xor eax, dword [esp + 0x80]
add eax, esi
mov dword [esp + 0x94], eax
add ecx, 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ecx
imul eax, dword [esp + 0x98], 0x3241250e
mov dword [esp + 0x98], eax
cmp ecx, 0x50
je 0x403900
jmp 0x4037a6
mov eax, dword [esp + 0x8c]
imul ecx, eax, 0x1c
mov edx, dword [ecx + 0x406004]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
add edi, esi
mov ebx, dword [ecx + 0x406018]
mov ecx, dword [ecx + section..data]
xor ecx, edx
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx + 4], ebx
mov dword [edx], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
call fcn.00404560
sub esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add ecx, edx
mov esi, dword [esp + 0x40]
mov dword [esp + 0xa4], esi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0xa0], edi
mov ebx, dword [esp + 0x2c]
add ebx, 1
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ebx
cmp ebx, 0x50
mov dword [esp + 0x20], eax
je 0x40366f
jmp 0x403820
mov eax, 0x285b54f4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, ecx
mov edx, dword [esp + 0x1c]
mul edx
mov esi, dword [esp + 0x40]
imul edi, esi, 0x285b54f4
add edx, edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0x44]
add eax, 0xc
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x6c], eax
je 0x4039f3
jmp 0x403799
lea eax, [esp + 0x48]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x9c]
xor ecx, 0x4375a450
mov edx, esp
mov dword [edx], eax
mov dword [edx + 8], 0xe
mov dword [edx + 4], 0x405091
mov dword [esp + 0x18], ecx
call fcn.00403f50
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x3c]
mov bl, cl
mov cl, bl
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
shrd edx, esi, cl
mov cl, bl
shr esi, cl
xor edi, edi
test bl, 0x20
cmovne edx, esi
cmovne esi, edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x90]
add eax, 0xbc8a6bac
mov esi, esp
mov dword [esi], edx
mov dword [esp + 0x14], eax
call fcn.00403a10
mov edx, dword [esp + 0x94]
mov esi, esp
mov edi, dword [esp + 0x18]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [esi + 8], edi
mov dword [esi + 4], edx
mov dword [esi], 0
call eax
sub esp, 0x10
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x26230eef
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x8c], 0
jmp 0x403820
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], 0x1b10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret