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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64d930
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
call fcn.004f1b50
test al, al
je 0x52f631
mov ebx, dword [esi + 0x14]
mov eax, dword [ebx + 0x84]
lea eax, [eax + eax + 0x1d]
add ebx, 0x88
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov edi, dword [eax]
mov dword [esp + 0x14], ebx
jmp 0x52ed00
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x8c]
add eax, 0x88
cmp ebx, eax
mov dword [esp + 0x38], ecx
je 0x52ed1b
call fcn.0062492b
cmp edi, dword [esp + 0x38]
je 0x52eec0
cmp edi, dword [ebx + 4]
jne 0x52ed2f
call fcn.0062492b
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x2c]
lea ebx, [eax + edx + 8]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x52ed59
mov ecx, dword [edi + 0x3c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
test eax, eax
mov dword [esp + 0x18], eax
jle 0x52edae
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x52ed8a
mov ecx, dword [edi + 0x3c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52ed8f
call fcn.0062492b
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x38]
mov edx, dword [eax + ecx + 0x14]
add esi, 1
add eax, 0x1c
cmp esi, dword [esp + 0x18]
lea ebx, [ebx + edx + 4]
mov dword [esp + 0x1c], eax
jl 0x52ed67
mov eax, dword [edi + 0x48]
add ebx, 4
test eax, eax
jne 0x52edbe
mov dword [esp + 0x18], eax
jmp 0x52edda
mov ecx, dword [edi + 0x4c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x52ee2d
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x48]
test eax, eax
je 0x52ee09
mov ecx, dword [edi + 0x4c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52ee0e
call fcn.0062492b
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x48]
mov edx, dword [eax + ecx + 0x14]
add esi, 1
add eax, 0x1c
cmp esi, dword [esp + 0x18]
lea ebx, [ebx + edx + 4]
mov dword [esp + 0x1c], eax
jl 0x52ede6
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
lea esi, [edi + 0x54]
add ebx, 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
test esi, esi
mov edx, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov dword [esp + 0x24], edx
je 0x52ee52
cmp esi, eax
je 0x52ee57
call fcn.0062492b
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x30], eax
je 0x52ee95
test esi, esi
jne 0x52ee6a
call fcn.0062492b
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esi + 4]
jne 0x52ee78
call fcn.0062492b
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x30]
lea ecx, [eax + ebx]
lea esi, [esp + 0x2c]
lea ebx, [ecx + eax*4 + 0x25]
call fcn.0053d550
mov esi, dword [esp + 0x2c]
jmp 0x52ee40
mov edx, dword [edi + 0xa0]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 4]
lea eax, [ebx + edx + 0x58]
mov dword [esp + 0x18], eax
jne 0x52eeb1
call fcn.0062492b
mov edi, dword [edi]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
jmp 0x52ed00
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xb4]
mov eax, dword [eax + 0xd0]
mov edx, dword [esp + 0x18]
add ecx, eax
xor edi, edi
lea ebx, [edx + ecx + 0x10]
mov dword [esp + 0x1c], edi
nop
mov eax, dword [esi + 0x20]
test eax, eax
je 0x52eeff
mov ecx, dword [esi + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x52ef46
mov eax, dword [esi + 0x20]
test eax, eax
je 0x52ef26
mov ecx, dword [esi + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x52ef2b
call fcn.0062492b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
mov edx, dword [eax + ecx + 0x14]
add edi, 1
add eax, 0x1c
lea ebx, [ebx + edx + 4]
mov dword [esp + 0x1c], eax
jmp 0x52eee0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x4c]
push str.ImageFontAscii:
push ecx
add ebx, 0xa
call fcn.0044cec0
add esp, 0xc
mov edi, dword [ebp + 8]
push ebx
xor esi, esi
push eax
mov dword [esp + 0xb0], esi
call fcn.004f1ec0
mov edi, eax
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x3c], edi
jb 0x52ef97
mov edx, dword [esp + 0x4c]
push edx
call fcn.0062493b
add esp, 4
cmp edi, esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
je 0x52f631
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], edi
lea eax, [ebx + 4]
mov edi, 4
lea esi, [esp + 0x14]
call fcn.004f21b0
lea eax, [ebx + 8]
call fcn.004f21b0
lea eax, [ebx + 0xc]
call fcn.004f21b0
lea eax, [ebx + 0x10]
call fcn.004f21b0
mov eax, dword [ebx + 0x14]
add eax, 0x6c
mov edi, 1
call fcn.004f21b0
mov eax, dword [ebx + 0x14]
add eax, 0x78
mov edi, 4
call fcn.004f21b0
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x84]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
call fcn.004f21b0
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x80]
mov edx, dword [ecx]
add eax, 0x7c
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
lea ecx, [ecx]
mov eax, dword [ebx + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [eax + 0x80]
add eax, 0x7c
test esi, esi
je 0x52f048
cmp esi, eax
je 0x52f04d
call fcn.0062492b
cmp dword [esp + 0x24], edi
je 0x52f0ac
test esi, esi
jne 0x52f05c
call fcn.0062492b
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 4]
jne 0x52f06a
call fcn.0062492b
mov eax, dword [esp + 0x24]
add eax, 0xc
mov edi, 1
lea esi, [esp + 0x14]
call fcn.004f21b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx + 4]
jne 0x52f091
call fcn.0062492b
mov eax, dword [esp + 0x24]
add eax, 0xd
lea esi, [esp + 0x14]
call fcn.004f21b0
lea esi, [esp + 0x20]
call fcn.0053d5c0
jmp 0x52f030
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x90]
mov edi, 4
lea eax, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], ecx
call fcn.004f21b0
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x8c]
mov ecx, dword [ecx]
add eax, 0x88
mov esi, eax
mov edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
jmp 0x52f0f0
mov ebx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x8c]
add ebx, 0x88
test esi, esi
mov dword [esp + 0x44], edx
je 0x52f10b
cmp esi, ebx
je 0x52f110
call fcn.0062492b
cmp edi, dword [esp + 0x44]
je 0x52f4c6
test esi, esi
jne 0x52f123
call fcn.0062492b
cmp edi, dword [esi + 4]
jne 0x52f12d
call fcn.0062492b
lea ebx, [edi + 0x18]
lea eax, [esp + 0x14]
call fcn.004f21c0
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x52f146
mov dword [esp + 0x18], eax
jmp 0x52f162
mov ecx, dword [edi + 0x3c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
mov edi, 4
lea eax, [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.004f21b0
xor ebx, ebx
xor esi, esi
cmp dword [esp + 0x18], ebx
jle 0x52f1d0
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x52f1a9
mov ecx, dword [edi + 0x3c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52f1ae
call fcn.0062492b
mov ebx, dword [edi + 0x38]
add ebx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.004f21c0
add dword [esp + 0x1c], 0x1c
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x52f182
xor ebx, ebx
jmp 0x52f1d4
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
cmp eax, ebx
jne 0x52f1e1
mov dword [esp + 0x18], ebx
jmp 0x52f1fd
mov edi, dword [edi + 0x4c]
sub edi, eax
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x18], ecx
mov edi, 4
lea eax, [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.004f21b0
xor esi, esi
cmp dword [esp + 0x18], ebx
jle 0x52f267
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x52f242
mov ecx, dword [edi + 0x4c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52f247
call fcn.0062492b
mov ebx, dword [edi + 0x48]
add ebx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.004f21c0
add dword [esp + 0x1c], 0x1c
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x52f21b
jmp 0x52f26b
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0x5c]
mov edi, 4
lea eax, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.004f21b0
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x58]
mov esi, dword [eax]
add edi, 0x54
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
jmp 0x52f2a0
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 0x58]
add eax, 0x54
test edi, edi
je 0x52f2b2
cmp edi, eax
je 0x52f2b7
call fcn.0062492b
cmp esi, ebx
je 0x52f3e2
test edi, edi
jne 0x52f2c8
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x52f2d2
call fcn.0062492b
cmp esi, dword [edi + 4]
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x52f2e3
call fcn.0062492b
lea eax, [esi + 0xc]
mov edi, 1
lea esi, [esp + 0x14]
call fcn.004f21b0
mov ebx, dword [esp + 0x1c]
mov edi, 0x10
mov eax, ebx
call fcn.004f21b0
lea eax, [ebx + 0x10]
mov edi, 8
call fcn.004f21b0
mov edx, dword [ebx + 0x20]
mov edi, 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.004f21b0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
add ebx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x1c]
add eax, 0x18
test ebx, ebx
je 0x52f348
cmp ebx, eax
je 0x52f34d
call fcn.0062492b
mov edi, dword [esp + 0x30]
cmp edi, esi
je 0x52f3af
test ebx, ebx
jne 0x52f35e
call fcn.0062492b
cmp edi, dword [ebx + 4]
jne 0x52f368
call fcn.0062492b
mov eax, dword [esp + 0x30]
add eax, 0xc
mov edi, 1
lea esi, [esp + 0x14]
call fcn.004f21b0
mov edx, dword [esp + 0x30]
cmp edx, dword [ebx + 4]
jne 0x52f38b
call fcn.0062492b
mov eax, dword [esp + 0x30]
add eax, 0x10
mov edi, 4
lea esi, [esp + 0x14]
call fcn.004f21b0
lea esi, [esp + 0x2c]
call fcn.00557a20
mov ebx, dword [esp + 0x2c]
jmp 0x52f336
mov ebx, dword [esp + 0x1c]
lea eax, [ebx + 0x24]
mov edi, 4
lea esi, [esp + 0x14]
call fcn.004f21b0
lea eax, [ebx + 0x28]
call fcn.004f21b0
lea esi, [esp + 0x34]
call fcn.0053d550
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x52f2a0
mov ebx, dword [esp + 0x24]
lea eax, [ebx + 0x60]
mov edi, 0x10
lea esi, [esp + 0x14]
call fcn.004f21b0
lea eax, [ebx + 0x70]
call fcn.004f21b0
add ebx, 0x8c
mov eax, esi
call fcn.004f21c0
mov ebx, dword [esp + 0x24]
lea eax, [ebx + 0xa8]
mov edi, 4
call fcn.004f21b0
lea eax, [ebx + 0xac]
mov edi, 8
call fcn.004f21b0
lea eax, [ebx + 0xb4]
mov edi, 4
call fcn.004f21b0
lea eax, [ebx + 0xb8]
call fcn.004f21b0
lea eax, [ebx + 0xbc]
call fcn.004f21b0
lea eax, [ebx + 0xc0]
call fcn.004f21b0
lea eax, [ebx + 0xc4]
call fcn.004f21b0
lea eax, [ebx + 0xc8]
call fcn.004f21b0
lea eax, [ebx + 0xcc]
call fcn.004f21b0
lea eax, [ebx + 0xd0]
call fcn.004f21b0
lea eax, [ebx + 0xd4]
call fcn.004f21b0
lea eax, [ebx + 0xd8]
call fcn.004f21b0
mov eax, dword [esp + 0x20]
cmp ebx, dword [eax + 4]
jne 0x52f4b1
call fcn.0062492b
mov ecx, dword [ebx]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov edi, ecx
jmp 0x52f0f0
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 0x14]
add ebx, 0xa0
lea eax, [esp + 0x14]
call fcn.004f21c0
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x14]
add eax, 0xbc
push eax
lea esi, [esp + 0x68]
call fcn.004e6880
mov ebx, eax
add esp, 4
lea eax, [esp + 0x14]
call fcn.004f21c0
cmp dword [esp + 0x7c], 0x10
jb 0x52f514
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0062493b
add esp, 4
lea eax, [edi + 0x18]
mov edi, 4
lea esi, [esp + 0x14]
call fcn.004f21b0
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x52f536
mov dword [esp + 0x18], eax
jmp 0x52f552
mov ecx, dword [ebx + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.004f21b0
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x52f5b6
xor edi, edi
lea esp, [esp]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x52f593
mov ecx, dword [ebx + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52f598
call fcn.0062492b
mov ebx, dword [ebx + 0x20]
add ebx, edi
lea eax, [esp + 0x14]
call fcn.004f21c0
mov ebx, dword [esp + 0x28]
add esi, 1
add edi, 0x1c
cmp esi, dword [esp + 0x18]
jl 0x52f570
lea eax, [ebx + 0x40]
mov edi, 8
lea esi, [esp + 0x14]
call fcn.004f21b0
lea eax, [ebx + 0x48]
mov edi, 1
call fcn.004f21b0
lea eax, [ebx + 0x2c]
call fcn.004f21b0
mov esi, dword [esp + 0x3c]
push esi
call fcn.004f2110
push esi
call fcn.004f2020
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x84]
push str.ImageFont2:
push edx
call fcn.0044cec0
add esp, 0xc
push eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0xac], edi
call fcn.004f1e50
cmp dword [esp + 0x98], 0x10
jb 0x52f631
mov eax, dword [esp + 0x84]
push eax
call fcn.0062493b
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8