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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xfc]
cmp eax, dword [ecx + 8]
jbe 0x45fd00
sub esp, 0x17c
mov ecx, dword [0x907578]
test ecx, ecx
je 0x45f905
mov ecx, dword [0x907514]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x88]
xor eax, eax
call fcn.004681a9
mov ecx, dword [esp + 0x38]
cmp ecx, 8
jg 0x45f890
lea edi, [esp + 0xf0]
call fcn.0046818d
lea ecx, [esp + 0xf0]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x38]
lea eax, [0x6d3760]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.0040cb80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
lea ecx, [0x936744]
mov dword [esp], ecx
call fcn.00402020
mov eax, dword [esp + 4]
test eax, eax
je 0x45f8d5
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
jmp 0x45f8db
xor ebx, ebx
xor edx, edx
xor ebp, ebp
test ebx, ebx
jbe 0x45fcf6
mov eax, dword [edx]
lea ecx, [ebp - 1]
neg ecx
sar ecx, 0x1f
and ecx, 4
add ecx, edx
mov dword [esp + 0x68], ecx
lea edx, [ebx - 1]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x44]
xor ebp, ebp
jmp 0x45f917
add esp, 0x17c
ret
inc ebp
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
mov eax, esi
cmp ebp, edx
jge 0x45fa57
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], eax
mov esi, dword [ecx + ebp*4]
mov dword [esp + 0x64], esi
mov edi, dword [eax + 0xb0]
mov dword [esp + 0x60], edi
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
jmp 0x45fa83
mov eax, dword [esi + 0x110]
test eax, eax
jne 0x45f90c
mov eax, dword [esi + 0xb4]
lea ecx, [0x6d2f60]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040cb80
mov eax, dword [esp + 0xc]
mov ecx, dword [0x93744c]
inc ecx
mov edx, dword [0x937448]
mov ebx, dword [0x937450]
cmp ebx, ecx
jae 0x45f9f5
mov dword [esp + 0x48], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6d2f60]
mov dword [esp + 0x10], eax
call fcn.0044c490
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x937450], edx
mov edx, dword [0x95da90]
test edx, edx
jne 0x45f9e4
mov dword [0x937448], eax
jmp 0x45f9ef
lea edi, [0x937448]
call fcn.00467ee0
mov edx, eax
mov eax, dword [esp + 0x48]
mov dword [0x93744c], ecx
mov ebx, dword [0x95da90]
lea edi, [edx + ecx*4 - 4]
test ebx, ebx
jne 0x45fa19
mov dword [edx + ecx*4 - 4], eax
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x110], eax
jmp 0x45fa2d
call fcn.00467ee0
mov ecx, dword [esp + 0x64]
lea edi, [ecx + 0x110]
call fcn.00467ee0
mov eax, dword [ecx + 0xb0]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 0xb4]
mov dword [esp + 0x30], edx
xor ebx, ebx
jmp 0x45fbbf
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov esi, ecx
jmp 0x45f90c
add esp, 0x17c
ret
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x45f955
mov ebp, dword [edi + edx*4]
mov esi, dword [eax + 0x110]
test esi, esi
jne 0x45faa6
mov esi, dword [eax + 0x94]
add ebp, esi
jmp 0x45fac6
lea eax, [0x6d2f60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0040eae0
mov eax, dword [esp + 0xc]
mov ebp, dword [eax]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x50], ebp
mov eax, dword [ebp + 8]
lea ecx, [0x6d3760]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040eae0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x50]
xor ebp, ebp
jmp 0x45fce2
lea ebp, [eax + 1]
cmp edx, ebp
jae 0x45fb33
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6fa8c0]
mov dword [esp + 0x10], eax
call fcn.0044c490
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edx
mov esi, dword [0x95da90]
lea edi, [ecx + ebp*4 - 4]
test esi, esi
jne 0x45fb53
mov dword [ecx + ebp*4 - 4], ebx
jmp 0x45fb5a
mov eax, ebx
call fcn.00467ee0
mov eax, dword [ebx + 8]
lea ecx, [0x6d3760]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0040ed90
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [0x95da90]
test eax, eax
jne 0x45fb9e
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x45fa5e
mov eax, dword [esp + 0x58]
call fcn.00467ee0
jmp 0x45fa5e
mov ebp, dword [esp + 0x2c]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
cmp ebx, edx
jge 0x45fa48
mov dword [esp + 0x2c], ebx
mov edx, dword [eax + ebx*4]
mov dword [esp + 0x20], edx
mov ebp, dword [ecx + 0x94]
add ebp, edx
mov dword [esp + 0x5c], ebp
mov esi, dword [ebp + 8]
lea edi, [0x6d3760]
mov dword [esp], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040eae0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
xor edx, edx
jmp 0x45fc7a
mov eax, dword [esp + 0x4c]
jmp 0x45fc1a
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x110]
lea ebx, [0x6d2f60]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.0040ed90
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x95da90]
test eax, eax
jne 0x45fc5d
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x45fbac
mov eax, dword [esp + 0x4c]
call fcn.00467ee0
jmp 0x45fbac
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
cmp edx, eax
jge 0x45fc16
mov dword [esp + 0x24], edx
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x4c], ebx
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.004681a9
lea edi, [esp + 0xa4]
call fcn.0046819d
lea ecx, [esp + 0xa4]
mov dword [esp + 0x78], ecx
call fcn.00453940
mov ecx, dword [esp]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
lea ebx, [esp + 0x6c]
mov dword [esp + 8], ebx
call fcn.0045fd10
movzx ecx, byte [esp + 0xc]
test cl, cl
je 0x45fc6b
jmp 0x45fc10
inc ebp
cmp ebp, eax
jge 0x45fafa
lea esi, [ecx + ebp*4]
cmp dword [esi], ebx
jne 0x45fce1
jmp 0x45fa5e
xor eax, eax
mov ecx, eax
call fcn.00467f60
nop
call fcn.00466b10
jmp fcn.0045f820