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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
push edi
mov dword [esp + 0x14], esi
jne 0x520456
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.0061c00c
add esp, 4
cmp byte [esi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
je 0x520537
cmp byte [esi + 0x23], 0
je 0x520537
add esi, 0x24
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00619281
add esp, 8
test eax, eax
jne 0x520497
mov ebp, dword [esp + 0x54]
jmp 0x52049a
or ebp, 0xffffffff
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.00619281
add esp, 8
test eax, eax
jne 0x5204b2
mov ebx, dword [esp + 0x7c]
jmp 0x5204b5
or ebx, 0xffffffff
mov edi, dword [esp + 0x14]
add edi, 0x2c
lea edx, [esp + 0x98]
push edi
push edx
call fcn.00619281
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x34]
push edi
not esi
and esi, dword [esp + 0xb0]
push eax
call fcn.00619281
add esp, 0x10
test eax, eax
jne 0x5204f2
mov eax, dword [esp + 0x3c]
inc eax
jmp 0x5204f4
xor eax, eax
push 0xffffffffffffffff
push 0
push ebp
push ebx
push esi
push eax
mov ecx, edi
call fcn.0043b880
push eax
lea ecx, [esp + 0x30]
call fcn.004ad770
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
jl 0x52052d
jg case.default.0x520788
cmp ecx, eax
ja case.default.0x520788
sub eax, ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00619281
add esp, 8
test eax, eax
jne 0x520554
mov eax, dword [esp + 0x44]
inc eax
jmp 0x520556
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x520560
jmp dword [eax*4 + 0x520b3c]
mov ecx, esi
test byte [ecx + 0x3c], 0x40
jmp 0x52059d
mov edx, esi
test byte [edx + 0x3c], 1
jmp 0x52059d
mov eax, esi
test byte [eax + 0x3c], 2
jmp 0x52059d
mov ecx, esi
test byte [ecx + 0x3c], 4
jmp 0x52059d
mov edx, esi
test byte [edx + 0x3c], 8
jmp 0x52059d
mov eax, esi
test byte [eax + 0x3c], 0x10
jmp 0x52059d
mov ecx, esi
test byte [ecx + 0x3c], 0x20
je case.default.0x520560
add esi, 0x24
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00619281
add esp, 8
test eax, eax
jne 0x5205be
mov edi, dword [esp + 0x30]
jmp 0x5205c1
or edi, 0xffffffff
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00619281
add esp, 8
test eax, eax
jne 0x5205df
mov ebp, dword [esp + 0xa0]
jmp 0x5205e2
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00619281
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
not esi
and esi, dword [esp + 0x8c]
push ecx
call fcn.00619281
add esp, 0x10
test eax, eax
jne 0x52061d
mov ebx, dword [esp + 0x60]
inc ebx
jmp 0x52061f
xor ebx, ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.00619281
add esp, 8
test eax, eax
jne 0x520646
mov eax, dword [esp + 0xd0]
add eax, 0x76c
jmp 0x520648
xor eax, eax
push 0xffffffffffffffff
push 0
push edi
push ebp
push esi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004ad770
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jg 0x52067e
jl 0x520672
cmp ebx, esi
jae 0x52067e
mov eax, esi
sub eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
cmp byte [edi + 4], 0
jne case.default.0x520560
cmp byte [edi + 0xc], 0
je case.default.0x520560
cmp byte [edi + 0x22], 0
je 0x5206f1
push 0xffffffffffffffff
lea ebx, [edi + 0x34]
push 0
mov ecx, ebx
call fcn.00450060
push eax
mov ecx, ebx
call fcn.00450030
push eax
lea ecx, [esp + 0x2c]
call fcn.0043b8e0
push eax
lea ecx, [esp + 0x30]
call fcn.0043b8b0
push eax
lea ecx, [esp + 0x34]
call fcn.0043b880
push eax
lea ecx, [esp + 0x40]
call fcn.004ad770
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
lea ecx, [esp + 0x2c]
call fcn.0051f810
test al, al
jne case.default.0x520560
mov eax, dword [edi + 8]
test eax, eax
je case.default.0x520560
push 0xffffffffffffffff
mov ecx, eax
shl ecx, 4
push 0x3b
sub ecx, eax
push 0x3b
lea esi, [esi + ecx*4]
push 0x17
lea ecx, [esp + 0x2c]
call fcn.0043b8e0
push eax
lea ecx, [esp + 0x30]
call fcn.0043b8b0
push eax
lea ecx, [esp + 0x34]
call fcn.0043b880
push eax
lea ecx, [esp + 0x40]
call fcn.004ad770
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge case.default.0x520560
lea esp, [esp]
cmp esi, ebx
jg 0x520672
mov eax, dword [edi + 8]
mov edx, eax
shl edx, 4
sub edx, eax
lea esi, [esi + edx*4]
cmp esi, ecx
jl 0x520740
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.00619281
add esp, 8
test eax, eax
jne 0x52077c
mov eax, dword [esp + 0xd4]
inc eax
jmp 0x52077e
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x520788
jmp dword [eax*4 + 0x520b58]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 1
jne 0x520a3e
test al, 2
je 0x5207ac
mov esi, 2
jmp 0x520a43
test al, 4
je 0x5207ba
mov esi, 3
jmp 0x520a43
test al, 8
je 0x5207c8
mov esi, 4
jmp 0x520a43
test al, 0x10
je 0x5207d6
mov esi, 5
jmp 0x520a43
test al, 0x20
je 0x5207e4
mov esi, 6
jmp 0x520a43
test al, 0x40
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 2
jne 0x520a3e
test al, 4
je 0x520813
mov esi, 2
jmp 0x520a43
test al, 8
je 0x520821
mov esi, 3
jmp 0x520a43
test al, 0x10
je 0x52082f
mov esi, 4
jmp 0x520a43
test al, 0x20
je 0x52083d
mov esi, 5
jmp 0x520a43
test al, 0x40
je 0x52084b
mov esi, 6
jmp 0x520a43
test al, 1
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 4
jne 0x520a3e
test al, 8
je 0x52087a
mov esi, 2
jmp 0x520a43
test al, 0x10
je 0x520888
mov esi, 3
jmp 0x520a43
test al, 0x20
je 0x520896
mov esi, 4
jmp 0x520a43
test al, 0x40
je 0x5208a4
mov esi, 5
jmp 0x520a43
test al, 1
je 0x5208b2
mov esi, 6
jmp 0x520a43
test al, 2
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 8
jne 0x520a3e
test al, 0x10
je 0x5208e1
mov esi, 2
jmp 0x520a43
test al, 0x20
je 0x5208ef
mov esi, 3
jmp 0x520a43
test al, 0x40
je 0x5208fd
mov esi, 4
jmp 0x520a43
test al, 1
je 0x52090b
mov esi, 5
jmp 0x520a43
test al, 2
je 0x520919
mov esi, 6
jmp 0x520a43
test al, 4
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x10
jne 0x520a3e
test al, 0x20
je 0x520948
mov esi, 2
jmp 0x520a43
test al, 0x40
je 0x520956
mov esi, 3
jmp 0x520a43
test al, 1
je 0x520964
mov esi, 4
jmp 0x520a43
test al, 2
je 0x520972
mov esi, 5
jmp 0x520a43
test al, 4
je 0x520980
mov esi, 6
jmp 0x520a43
test al, 8
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x20
jne 0x520a3e
test al, 0x40
je 0x5209af
mov esi, 2
jmp 0x520a43
test al, 1
je 0x5209bd
mov esi, 3
jmp 0x520a43
test al, 2
je 0x5209c8
mov esi, 4
jmp 0x520a43
test al, 4
je 0x5209d3
mov esi, 5
jmp 0x520a43
test al, 8
je 0x5209de
mov esi, 6
jmp 0x520a43
test al, 0x10
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x40
jne 0x520a3e
test al, 1
je 0x520a03
mov esi, 2
jmp 0x520a43
test al, 2
je 0x520a0e
mov esi, 3
jmp 0x520a43
test al, 4
je 0x520a19
mov esi, 4
jmp 0x520a43
test al, 8
je 0x520a24
mov esi, 5
jmp 0x520a43
test al, 0x10
je 0x520a2f
mov esi, 6
jmp 0x520a43
test al, 0x20
je case.default.0x520788
mov esi, 7
jmp 0x520a43
mov esi, 1
lea edi, [ecx + 0x24]
lea edx, [esp + 0xbc]
push edi
push edx
call fcn.00619281
add esp, 8
test eax, eax
jne 0x520a68
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], eax
jmp 0x520a70
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00619281
add esp, 8
test eax, eax
jne 0x520a88
mov ebp, dword [esp + 0x34]
jmp 0x520a8b
or ebp, 0xffffffff
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.00619281
mov edi, eax
neg edi
sbb edi, edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x80]
not edi
and edi, dword [esp + 0xb0]
push edx
call fcn.00619281
add esp, 0x10
test eax, eax
jne 0x520acf
mov ebx, dword [esp + 0x84]
inc ebx
jmp 0x520ad1
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00619281
add esp, 8
test eax, eax
jne 0x520af2
mov eax, dword [esp + 0x64]
add eax, 0x76c
jmp 0x520af4
xor eax, eax
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edx
push ebp
push edi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004ad770
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.0051f7b0
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 4]
add edx, ecx
mov ecx, dword [esp + 0x28]
adc ecx, eax
mov eax, edx
sub eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret