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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4920c1
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x38]
mov ebx, dword [edi + 8]
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 4]
sub eax, ebx
add ecx, ebx
call fcn.0044ef80
mov ecx, dword [esp + 0x14]
xor ebp, ebp
add esp, 4
cmp ecx, ebp
jne 0x45210c
call fcn.0044ef20
add ebx, ecx
mov dword [edi + 8], ebx
mov ebx, dword [esp + 0xc4]
mov ecx, edx
cmp eax, 2
jne 0x45216a
cmp edx, ebp
jne 0x45216a
lea ecx, [ebx + 0xe0]
push ecx
mov ecx, esi
call fcn.0044fb20
mov edi, dword [esi + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi + 4]
sub eax, edx
add ecx, edx
call fcn.0044ef80
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x38], edx
cmp ecx, ebp
jne 0x45215e
call fcn.0044ef20
mov edx, dword [edi + 8]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0xbc], 1
cmp eax, 3
jne 0x452222
cmp ecx, ebp
jne 0x452222
mov edx, dword [ebx + 0xf4]
mov eax, dword [ebx + 0xf0]
lea ecx, [esp + 0x3c]
push ecx
lea edi, [ebx + 0x100]
push edi
push edx
push eax
mov ecx, esi
call fcn.00451c70
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x4521d8
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0044ff20
mov eax, dword [esp + 0x10]
jmp 0x452aa9
mov ecx, dword [ebx + 0xf0]
add dword [edi], ecx
mov edx, dword [ebx + 0xf4]
lea eax, [esp + 0x10]
adc dword [edi + 4], edx
mov edi, dword [esi + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 4]
sub eax, edx
add ecx, edx
call fcn.0044ef80
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x38], edx
cmp ecx, ebp
jne 0x452216
call fcn.0044ef20
mov edx, dword [edi + 8]
add ecx, edx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov byte [esp + 0xbc], 2
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov byte [esp + 0xbc], 3
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov byte [esp + 0xbc], 5
cmp eax, 4
jne 0x4522e4
cmp ecx, ebp
jne 0x4522e4
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x68]
push edx
push ebx
lea edi, [ebx + 0xf8]
push edi
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.00451920
mov ecx, dword [ebx + 0xf0]
add dword [edi], ecx
mov edx, dword [ebx + 0xf4]
lea eax, [esp + 0x10]
adc dword [edi + 4], edx
mov edi, dword [esi + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 4]
sub eax, edx
add ecx, edx
call fcn.0044ef80
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x38], edx
cmp ecx, ebp
jne 0x4522d8
call fcn.0044ef20
mov edx, dword [edi + 8]
add ecx, edx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x5c], ebp
cmp eax, 5
jne 0x452a4d
cmp ecx, ebp
jne 0x452a4d
mov ecx, esi
call fcn.0044f210
lea edi, [ebx + 0x58]
push eax
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0044f7f0
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], ecx
lea edi, [ebx + 0x108]
mov ecx, edi
call fcn.0044f140
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [eax + ecx*8], 9
mov dword [eax + ecx*8 + 4], ebp
inc dword [edi + 4]
mov ecx, edi
call fcn.0044f140
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [eax + ecx*8], 6
mov dword [eax + ecx*8 + 4], ebp
inc dword [edi + 4]
cmp dword [esp + 0x14], ebp
jbe 0x452368
cmp dword [esp + 0x8c], ebp
je 0x452368
push ebp
push 0xa
mov ecx, edi
call fcn.0044f780
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov byte [esp + 0xbc], 6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x58]
call fcn.0044f890
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov byte [esp + 0xbc], 7
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov byte [esp + 0xbc], 8
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 8]
lea edi, [ecx + 8]
lea eax, [esp + 0x24]
push eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
sub eax, edx
add ecx, edx
mov dword [esp + 0x20], ebp
call fcn.0044ef80
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x30], edx
cmp eax, ebp
je 0x452841
mov edi, edi
mov ecx, dword [esp + 0x2c]
add dword [edi], eax
or ecx, dword [esp + 0x30]
je 0x452846
mov edi, dword [esi + 0x38]
mov ebp, dword [edi + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push edx
sub eax, ebp
add ecx, ebp
call fcn.0044ef80
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x4c], edx
test eax, eax
je 0x452107
add eax, ebp
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 4]
sub eax, dword [ecx + 8]
xor ecx, ecx
cmp edx, ecx
ja 0x452107
jb 0x452454
cmp dword [esp + 0x48], eax
ja 0x452107
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], cl
mov byte [esp + 0xbc], 9
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov edi, dword [esp + 0x48]
push 1
push edi
push ecx
push esi
lea ecx, [esp + 0x60]
call fcn.0044f930
xor ebp, ebp
cmp dword [esp + 0x30], ebp
ja case.0x4524aa.22
jb 0x45249a
cmp dword [esp + 0x2c], 0x40000000
ja case.0x4524aa.22
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x4524aa.22
jmp dword [eax*4 + 0x452ac4]
mov byte [esp + 0xb0], 0
mov byte [esp + 0xb1], 0
mov byte [esp + 0xbc], 0xa
lea edx, [esp + 0x3c]
push edx
push esi
lea ecx, [esp + 0xb4]
call fcn.0044f9e0
mov eax, dword [esi + 0x38]
mov ebp, dword [eax + 4]
sub ebp, dword [eax + 8]
lea edi, [ebx + 0xd0]
push ebp
mov ecx, edi
call fcn.0044f6e0
mov edi, dword [edi]
push ebp
push edi
mov ecx, esi
call fcn.0044f1d0
mov eax, dword [ebx + 0x5c]
inc eax
lea ecx, [ebx + 0xd8]
push eax
call fcn.0044f100
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], edi
cmp dword [ebx + 0x5c], edi
jbe 0x452584
lea ebx, [ebx]
mov edx, dword [ebx + 0xd0]
mov ecx, ebp
lea edx, [edx + eax]
sub ecx, eax
shr ecx, 1
mov dword [esp + 0x28], edx
mov edx, 0
je 0x452554
lea ebx, [ebx]
mov edi, dword [esp + 0x28]
cmp word [edi + edx*2], 0
je 0x452550
inc edx
cmp edx, ecx
jb 0x452540
mov edi, dword [esp + 0x20]
cmp edx, ecx
je 0x452107
mov ecx, dword [ebx + 0xd8]
add ebx, 0xd8
mov ebx, eax
shr ebx, 1
mov dword [ecx + edi*4], ebx
mov ebx, dword [esp + 0xc4]
inc edi
lea eax, [eax + edx*2 + 2]
mov dword [esp + 0x20], edi
cmp edi, dword [ebx + 0x5c]
jb 0x452520
mov ecx, dword [ebx + 0xd8]
mov edx, eax
shr edx, 1
mov dword [ecx + edi*4], edx
cmp eax, ebp
je 0x452599
mov byte [esi + 0x3c], 1
mov byte [esp + 0xbc], 9
lea ecx, [esp + 0xac]
call fcn.0044f8e0
jmp 0x4526c9
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov byte [esp + 0xbc], 0xb
mov eax, dword [ebx + 0x5c]
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, esi
call fcn.0044fd10
mov byte [esp + 0x38], 0
mov byte [esp + 0x39], 0
mov byte [esp + 0xbc], 0xc
lea edx, [esp + 0x3c]
push edx
push esi
lea ecx, [esp + 0x3c]
call fcn.0044f9e0
cmp dword [esp + 0x14], ebp
jbe 0x45263e
mov dword [esp + 0x20], ebp
lea ecx, [ecx]
mov edi, dword [ebx + 0x58]
mov eax, dword [esp + 0xa0]
add edi, dword [esp + 0x20]
mov al, byte [eax + ebp]
mov byte [edi + 0x13], al
test al, al
je 0x452632
mov ecx, esi
call fcn.0044f2a0
mov dword [edi + 8], eax
add dword [esp + 0x20], 0x18
inc ebp
cmp ebp, dword [esp + 0x14]
jb 0x452610
mov byte [esp + 0xbc], 0xb
lea ecx, [esp + 0x34]
call fcn.0044f8e0
mov byte [esp + 0xbc], 9
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0046f7da
add esp, 4
jmp 0x4526c9
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
push eax
mov ecx, esi
call fcn.0044fc90
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
xor edx, edx
xor eax, eax
mov dword [esp + 0x1c], edx
cmp ecx, ebp
jbe 0x4526a0
mov edi, edi
cmp byte [edi + eax], 0
je 0x452697
inc edx
inc eax
cmp eax, ecx
jb 0x452690
mov dword [esp + 0x1c], edx
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
call fcn.0044f890
lea eax, [esp + 0x70]
call fcn.0044f890
jmp 0x4526c9
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
push ecx
push edx
mov ecx, esi
call fcn.0044fc90
lea edi, [ebx + 0x108]
mov ecx, edi
call fcn.0044f140
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*8 + 4], edx
inc dword [edi + 4]
jmp 0x4527b7
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
push ecx
jmp 0x4526c2
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0xac]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00451b60
jmp 0x4526c9
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x64]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00451b60
jmp 0x4526c9
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x7c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00451b60
jmp 0x4526c9
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x94]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00451b60
jmp 0x4526c9
xor edx, edx
cmp dword [esp + 0x4c], ebp
jb 0x4527b7
ja 0x452771
test edi, edi
jbe 0x4527b7
mov eax, dword [esi + 0x38]
mov edi, dword [eax + 8]
cmp edi, dword [eax + 4]
jae 0x452107
mov ecx, dword [eax]
mov cl, byte [edi + ecx]
inc edi
mov dword [eax + 8], edi
test cl, cl
je 0x452791
mov byte [esi + 0x3c], 1
add ebp, 1
adc edx, 0
cmp edx, dword [esp + 0x4c]
jb 0x452771
ja 0x4527b7
cmp ebp, dword [esp + 0x48]
jb 0x452771
jmp 0x4527b7
mov byte [ebx + 0x135], 1
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
sub edx, dword [eax + 8]
jne 0x452107
mov byte [esp + 0xbc], 8
cmp byte [esp + 0x54], dl
je 0x45280e
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
sub edx, dword [ecx + 8]
je 0x4527e7
mov byte [eax + 0x3c], 1
add dword [eax + 4], 0xffffffff
mov ecx, dword [eax + 4]
je 0x452809
cmp byte [esp + 0x55], 0
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
lea ecx, [edx - 4]
mov dword [eax + 0x38], ecx
je 0x452809
mov edx, dword [edx + 0x10]
add dword [ecx + 8], edx
mov byte [esp + 0x54], 0
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 8]
lea edi, [ecx + 8]
lea eax, [esp + 0x24]
push eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
sub eax, edx
add ecx, edx
call fcn.0044ef80
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x30], edx
test eax, eax
jne 0x4523f0
call fcn.0044ef20
mov esi, dword [esi + 0x38]
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi]
sub eax, edi
add ecx, edi
call fcn.0044ef80
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0x45286f
call fcn.0044ef20
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, edi
sub edx, ecx
mov dword [esi + 8], eax
cmp edx, dword [esp + 0x68]
je 0x452889
call fcn.0044ef40
mov esi, dword [esp + 0x70]
xor edx, edx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x20], edx
test ecx, ecx
jbe 0x4528b0
jmp 0x4528a0
cmp byte [esi + eax], 0
je 0x4528a7
inc edx
inc eax
cmp eax, ecx
jb 0x4528a0
mov dword [esp + 0x20], edx
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x14], edi
jbe 0x452a15
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
sub edx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
jmp 0x4528e0
mov eax, dword [ebx + 0x58]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
cmp byte [ecx + edi], 0
mov dword [eax + 0xc], 0
sete cl
mov byte [eax + 0x10], cl
test cl, cl
je 0x452953
mov ecx, dword [esp + 0x64]
mov byte [eax + 0x11], 0
mov ecx, dword [ecx + ebp*8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + ebp*8 + 4]
mov byte [esp + 0x1b], 0
mov dword [eax + 4], ecx
cmp ebp, dword [esp + 0x8c]
jae 0x45293a
mov ecx, dword [esp + 0x88]
cmp byte [ecx + ebp], 0
je 0x45293a
mov ecx, 1
jmp 0x45293c
xor ecx, ecx
mov byte [eax + 0x12], cl
test cl, cl
je 0x452950
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx + ebp*4]
mov dword [eax + 0xc], ecx
inc ebp
jmp 0x452979
cmp byte [edx + esi], 0
sete cl
mov byte [eax + 0x11], cl
mov cl, byte [esi]
inc esi
mov byte [esp + 0x1b], cl
mov dword [esp + 0x1c], esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 0x12], 0
cmp dword [esp + 0x20], 0
je 0x4529fd
mov eax, dword [ebx + 0xcc]
cmp dword [ebx + 0xc8], eax
jne 0x4529e0
mov edx, eax
shr edx, 2
lea esi, [edx + eax + 1]
push esi
call fcn.0045bd2a
mov edi, eax
mov eax, dword [ebx + 0xc8]
add esp, 4
test eax, eax
je 0x4529bd
push eax
mov eax, dword [ebx + 0xc4]
push eax
push edi
call fcn.004701d0
add esp, 0xc
mov eax, dword [ebx + 0xc4]
push eax
call fcn.0046f7da
mov dword [ebx + 0xc4], edi
mov edi, dword [esp + 0x14]
mov dword [ebx + 0xcc], esi
mov esi, dword [esp + 0x20]
add esp, 4
mov edx, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xc4]
mov al, byte [esp + 0x1b]
mov byte [ecx + edx], al
inc dword [ebx + 0xc8]
mov edx, dword [esp + 0x28]
add dword [esp + 0x24], 0x18
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x14]
jb 0x4528e0
mov esi, dword [esp + 0x70]
mov byte [esp + 0xbc], 7
push esi
call fcn.0046f7da
mov byte [esp + 0xc0], 6
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0046f7da
mov byte [esp + 0xc4], 5
mov edx, dword [esp + 0x60]
push edx
call fcn.0046f7da
add esp, 0xc
mov ecx, ebx
call fcn.0044f5c0
mov byte [esp + 0xbc], 0xd
mov eax, dword [esp + 0x94]
push eax
call fcn.0046f7da
mov byte [esp + 0xc0], 2
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0046f7da
mov byte [esp + 0xc4], 1
mov edx, dword [esp + 0x6c]
push edx
call fcn.0046f7da
add esp, 0xc
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0044ff20
xor eax, eax
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 4