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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64fe60
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
call fcn.005c14d0
test al, al
je 0x59621a
mov ebx, dword [esi + 0x14]
mov eax, dword [ebx + 0x84]
lea eax, [eax*4 + 0x1d]
add ebx, 0x88
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov edi, dword [eax]
mov dword [esp + 0x14], ebx
jmp 0x5958f0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x8c]
add eax, 0x88
cmp ebx, eax
mov dword [esp + 0x38], ecx
je 0x59590b
call fcn.0062472f
cmp edi, dword [esp + 0x38]
je 0x595ab0
cmp edi, dword [ebx + 4]
jne 0x59591f
call fcn.0062472f
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x2c]
lea ebx, [eax + edx + 8]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x595949
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 0x59599e
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x59597a
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 0x59597f
call fcn.0062472f
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 0x595957
mov eax, dword [edi + 0x48]
add ebx, 4
test eax, eax
jne 0x5959ae
mov dword [esp + 0x18], eax
jmp 0x5959ca
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 0x595a1d
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x48]
test eax, eax
je 0x5959f9
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 0x5959fe
call fcn.0062472f
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 0x5959d6
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 0x595a42
cmp esi, eax
je 0x595a47
call fcn.0062472f
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x30], eax
je 0x595a85
test esi, esi
jne 0x595a5a
call fcn.0062472f
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esi + 4]
jne 0x595a68
call fcn.0062472f
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x30]
lea eax, [eax + eax*2]
lea esi, [esp + 0x2c]
lea ebx, [ebx + eax*2 + 0x26]
call fcn.005a4f20
mov esi, dword [esp + 0x2c]
jmp 0x595a30
mov ecx, dword [edi + 0xa0]
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 4]
lea edx, [ebx + ecx + 0x58]
mov dword [esp + 0x18], edx
jne 0x595aa1
call fcn.0062472f
mov edi, dword [edi]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
jmp 0x5958f0
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 0x595aef
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 0x595b36
mov eax, dword [esi + 0x20]
test eax, eax
je 0x595b16
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 0x595b1b
call fcn.0062472f
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 0x595ad0
mov eax, dword [ebp + 0xc]
push eax
mov edi, str.ImageFontWide:
lea esi, [esp + 0x4c]
add ebx, 0xa
call fcn.00447340
add esp, 4
mov edi, dword [ebp + 8]
push ebx
push eax
mov dword [esp + 0xb0], 0
call fcn.005c1850
mov esi, eax
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x3c], esi
jb 0x595b88
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0062414c
add esp, 4
test esi, esi
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
je 0x59621a
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], esi
lea eax, [ebx + 4]
mov edi, 4
lea esi, [esp + 0x14]
call fcn.005c1b40
lea eax, [ebx + 8]
call fcn.005c1b40
lea eax, [ebx + 0xc]
call fcn.005c1b40
lea eax, [ebx + 0x10]
call fcn.005c1b40
mov eax, dword [ebx + 0x14]
add eax, 0x6c
mov edi, 1
call fcn.005c1b40
mov eax, dword [ebx + 0x14]
add eax, 0x78
mov edi, 4
call fcn.005c1b40
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0x84]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
call fcn.005c1b40
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x80]
mov ecx, dword [ecx]
add eax, 0x7c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x14]
mov esi, dword [esp + 0x20]
mov edi, dword [eax + 0x80]
add eax, 0x7c
test esi, esi
je 0x595c3a
cmp esi, eax
je 0x595c3f
call fcn.0062472f
cmp dword [esp + 0x24], edi
je 0x595c9e
test esi, esi
jne 0x595c4e
call fcn.0062472f
mov edx, dword [esp + 0x24]
cmp edx, dword [esi + 4]
jne 0x595c5c
call fcn.0062472f
mov eax, dword [esp + 0x24]
add eax, 0xc
mov edi, 2
lea esi, [esp + 0x14]
call fcn.005c1b40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 4]
jne 0x595c83
call fcn.0062472f
mov eax, dword [esp + 0x24]
add eax, 0xe
lea esi, [esp + 0x14]
call fcn.005c1b40
lea esi, [esp + 0x20]
call fcn.00565b70
jmp 0x595c22
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0x90]
mov dword [esp + 0x1c], eax
mov edi, 4
lea eax, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.005c1b40
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
lea esp, [esp]
mov ebx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x8c]
add ebx, 0x88
test esi, esi
mov dword [esp + 0x44], ecx
je 0x595cfb
cmp esi, ebx
je 0x595d00
call fcn.0062472f
cmp edi, dword [esp + 0x44]
je 0x5960b6
test esi, esi
jne 0x595d13
call fcn.0062472f
cmp edi, dword [esi + 4]
jne 0x595d1d
call fcn.0062472f
lea ebx, [edi + 0x18]
lea eax, [esp + 0x14]
call fcn.005c1b50
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x595d36
mov dword [esp + 0x18], eax
jmp 0x595d52
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.005c1b40
xor ebx, ebx
xor esi, esi
cmp dword [esp + 0x18], ebx
jle 0x595dc0
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x595d99
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 0x595d9e
call fcn.0062472f
mov ebx, dword [edi + 0x38]
add ebx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.005c1b50
add dword [esp + 0x1c], 0x1c
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x595d72
xor ebx, ebx
jmp 0x595dc4
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
cmp eax, ebx
jne 0x595dd1
mov dword [esp + 0x18], ebx
jmp 0x595ded
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.005c1b40
xor esi, esi
cmp dword [esp + 0x18], ebx
jle 0x595e57
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
test eax, eax
je 0x595e32
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 0x595e37
call fcn.0062472f
mov ebx, dword [edi + 0x48]
add ebx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.005c1b50
add dword [esp + 0x1c], 0x1c
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x595e0b
jmp 0x595e5b
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.005c1b40
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 0x595e90
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 0x58]
add eax, 0x54
test edi, edi
je 0x595ea2
cmp edi, eax
je 0x595ea7
call fcn.0062472f
cmp esi, ebx
je 0x595fd2
test edi, edi
jne 0x595eb8
call fcn.0062472f
cmp esi, dword [edi + 4]
jne 0x595ec2
call fcn.0062472f
cmp esi, dword [edi + 4]
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x595ed3
call fcn.0062472f
lea eax, [esi + 0xc]
mov edi, 2
lea esi, [esp + 0x14]
call fcn.005c1b40
mov ebx, dword [esp + 0x1c]
mov edi, 0x10
mov eax, ebx
call fcn.005c1b40
lea eax, [ebx + 0x10]
mov edi, 8
call fcn.005c1b40
mov edx, dword [ebx + 0x20]
mov edi, 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.005c1b40
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 0x595f38
cmp ebx, eax
je 0x595f3d
call fcn.0062472f
mov edi, dword [esp + 0x30]
cmp edi, esi
je 0x595f9f
test ebx, ebx
jne 0x595f4e
call fcn.0062472f
cmp edi, dword [ebx + 4]
jne 0x595f58
call fcn.0062472f
mov eax, dword [esp + 0x30]
add eax, 0xc
mov edi, 2
lea esi, [esp + 0x14]
call fcn.005c1b40
mov edx, dword [esp + 0x30]
cmp edx, dword [ebx + 4]
jne 0x595f7b
call fcn.0062472f
mov eax, dword [esp + 0x30]
add eax, 0x10
mov edi, 4
lea esi, [esp + 0x14]
call fcn.005c1b40
lea esi, [esp + 0x2c]
call fcn.005a5080
mov ebx, dword [esp + 0x2c]
jmp 0x595f26
mov ebx, dword [esp + 0x1c]
lea eax, [ebx + 0x24]
mov edi, 4
lea esi, [esp + 0x14]
call fcn.005c1b40
lea eax, [ebx + 0x28]
call fcn.005c1b40
lea esi, [esp + 0x34]
call fcn.005a4f20
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x595e90
mov ebx, dword [esp + 0x24]
lea eax, [ebx + 0x60]
mov edi, 0x10
lea esi, [esp + 0x14]
call fcn.005c1b40
lea eax, [ebx + 0x70]
call fcn.005c1b40
add ebx, 0x8c
mov eax, esi
call fcn.005c1b50
mov ebx, dword [esp + 0x24]
lea eax, [ebx + 0xa8]
mov edi, 4
call fcn.005c1b40
lea eax, [ebx + 0xac]
mov edi, 8
call fcn.005c1b40
lea eax, [ebx + 0xb4]
mov edi, 4
call fcn.005c1b40
lea eax, [ebx + 0xb8]
call fcn.005c1b40
lea eax, [ebx + 0xbc]
call fcn.005c1b40
lea eax, [ebx + 0xc0]
call fcn.005c1b40
lea eax, [ebx + 0xc4]
call fcn.005c1b40
lea eax, [ebx + 0xc8]
call fcn.005c1b40
lea eax, [ebx + 0xcc]
call fcn.005c1b40
lea eax, [ebx + 0xd0]
call fcn.005c1b40
lea eax, [ebx + 0xd4]
call fcn.005c1b40
lea eax, [ebx + 0xd8]
call fcn.005c1b40
mov eax, dword [esp + 0x20]
cmp ebx, dword [eax + 4]
jne 0x5960a1
call fcn.0062472f
mov ecx, dword [ebx]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov edi, ecx
jmp 0x595ce0
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 0x14]
add ebx, 0xa0
lea eax, [esp + 0x14]
call fcn.005c1b50
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + 0x14]
add ebx, 0xbc
lea eax, [esp + 0x64]
call fcn.005b60c0
mov ebx, eax
lea eax, [esp + 0x14]
call fcn.005c1b50
cmp dword [esp + 0x7c], 0x10
jb 0x596101
mov eax, dword [esp + 0x68]
push eax
call fcn.0062414c
add esp, 4
lea eax, [esi + 0x18]
mov edi, 4
lea esi, [esp + 0x14]
call fcn.005c1b40
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x596123
mov dword [esp + 0x18], eax
jmp 0x59613f
mov ecx, dword [ebx + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x18]
lea esi, [esp + 0x14]
call fcn.005c1b40
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x59619c
xor edi, edi
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x596179
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 0x59617e
call fcn.0062472f
mov ebx, dword [ebx + 0x20]
add ebx, edi
lea eax, [esp + 0x14]
call fcn.005c1b50
mov ebx, dword [esp + 0x28]
add esi, 1
add edi, 0x1c
cmp esi, dword [esp + 0x18]
jl 0x596156
lea eax, [ebx + 0x40]
mov edi, 8
lea esi, [esp + 0x14]
call fcn.005c1b40
lea eax, [ebx + 0x48]
mov edi, 1
call fcn.005c1b40
lea eax, [ebx + 0x2c]
call fcn.005c1b40
mov esi, dword [esp + 0x3c]
push esi
call fcn.005c1aa0
push esi
call fcn.005c19b0
mov edx, dword [ebp + 0xc]
push edx
mov edi, str.ImageFont2:
lea esi, [esp + 0x84]
call fcn.00447340
add esp, 4
push eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0xac], 1
call fcn.005c17e0
cmp dword [esp + 0x98], 0x10
jb 0x59621a
mov eax, dword [esp + 0x84]
push eax
call fcn.0062414c
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