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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x658429
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov edi, str.ImageFontWide:
lea esi, [esp + 0x188]
mov ebx, ecx
call fcn.00447340
add esp, 4
lea ecx, [esp + 0x38]
push ecx
xor esi, esi
push eax
lea ecx, [esp + 0x38]
mov edx, ebx
mov dword [esp + 0x200], esi
call fcn.005c14f0
or edi, 0xffffffff
mov dword [esp + 0x1f8], edi
cmp dword [esp + 0x19c], 0x10
mov bl, al
jb 0x59501a
mov edx, dword [esp + 0x188]
push edx
call fcn.0062414c
add esp, 4
test bl, bl
je 0x595854
push 0x50
call fcn.00624227
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov dword [esp + 0x1f8], 1
je 0x59504d
push eax
call fcn.00593150
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x595053
mov dword [esp + 0x14], esi
mov ebx, esi
mov dword [esp + 0x1f8], edi
mov eax, dword [esp + 0x38]
lea ecx, [ebx + 4]
mov edi, 4
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.005c1b90
lea ecx, [ebx + 8]
call fcn.005c1b90
lea ecx, [ebx + 0xc]
call fcn.005c1b90
lea ecx, [ebx + 0x10]
call fcn.005c1b90
mov ecx, dword [ebx + 0x14]
mov edx, dword [0x6ba058]
mov dword [ecx + 0x74], edx
mov ecx, dword [ebx + 0x14]
add ecx, 0x6c
mov edi, 1
call fcn.005c1b90
mov ecx, dword [ebx + 0x14]
add ecx, 0x78
mov edi, 4
call fcn.005c1b90
lea ecx, [esp + 0x28]
call fcn.005c1b90
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x59511f
mov dword [esp + 0x18], eax
lea esp, [esp]
mov edi, 2
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x10]
call fcn.005c1b90
lea ecx, [esp + 0x20]
call fcn.005c1b90
mov ax, word [esp + 0x1c]
mov ebx, dword [ebx + 0x14]
mov cx, word [esp + 0x20]
lea edx, [esp + 0x24]
mov word [esp + 0x24], ax
push edx
lea eax, [esp + 0x50]
push eax
add ebx, 0x7c
mov word [esp + 0x2e], cx
call fcn.005a1d00
sub dword [esp + 0x18], 1
mov ebx, dword [esp + 0x14]
jne 0x5950d0
mov edi, 4
lea ecx, [esp + 0x28]
lea esi, [esp + 0x10]
call fcn.005c1b90
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x5956dd
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x14]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.0058f040
mov dword [esp + 0x1f8], 2
mov esi, dword [ebx + 0x14]
mov edi, dword [esi + 0x8c]
add esi, 0x88
push eax
mov eax, dword [edi + 4]
push eax
push edi
call fcn.005a4900
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.005a49a0
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0x1fc], 0xffffffff
call fcn.005929a0
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + 4]
add esi, 0x88
cmp edi, eax
jne 0x5951c1
call fcn.0062472f
cmp edi, dword [esi + 4]
jne 0x5951cb
call fcn.0062472f
add edi, 8
lea ebx, [edi + 0x10]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edi
call fcn.005c1ba0
xor eax, eax
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [esp + 0x190]
mov dword [esp + 0x1a8], 0xf
mov dword [esp + 0x1a4], eax
mov byte [esp + 0x194], al
call fcn.00405660
mov dword [esp + 0x1a0], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1f8], 3
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x184]
push edx
add ecx, 0x94
push ecx
lea ebx, [esp + 0x9c]
call fcn.005a1ed0
mov dword [esp + 0x1f8], 0xffffffff
cmp dword [esp + 0x19c], 0x10
jb 0x595262
mov edx, dword [esp + 0x188]
push edx
call fcn.0062414c
add esp, 4
mov edi, 4
lea ecx, [esp + 0x24]
lea esi, [esp + 0x10]
call fcn.005c1b90
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
jle 0x5952f8
mov esi, dword [esp + 0x18]
add esi, 0x2c
mov edi, eax
jmp 0x595290
mov dword [esp + 0x19c], 0xf
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
lea ebx, [esp + 0x184]
lea eax, [esp + 0x10]
mov dword [esp + 0x1f8], 4
call fcn.005c1ba0
mov eax, ebx
push eax
call fcn.00547130
mov dword [esp + 0x1f8], 0xffffffff
cmp dword [esp + 0x19c], 0x10
jb 0x5952f1
mov ecx, dword [esp + 0x188]
push ecx
call fcn.0062414c
add esp, 4
xor ebx, ebx
sub edi, 1
jne 0x595290
mov edi, 4
lea ecx, [esp + 0x24]
lea esi, [esp + 0x10]
call fcn.005c1b90
mov eax, dword [esp + 0x24]
cmp eax, ebx
jle 0x595388
mov esi, dword [esp + 0x18]
add esi, 0x3c
mov edi, eax
nop
mov dword [esp + 0x19c], 0xf
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
lea ebx, [esp + 0x184]
lea eax, [esp + 0x10]
mov dword [esp + 0x1f8], 5
call fcn.005c1ba0
mov edx, ebx
push edx
call fcn.00547130
mov dword [esp + 0x1f8], 0xffffffff
cmp dword [esp + 0x19c], 0x10
jb 0x595381
mov eax, dword [esp + 0x188]
push eax
call fcn.0062414c
add esp, 4
xor ebx, ebx
sub edi, 1
jne 0x595320
mov edi, 4
lea ecx, [esp + 0x40]
lea esi, [esp + 0x10]
call fcn.005c1b90
mov eax, dword [esp + 0x40]
cmp eax, ebx
jle 0x595568
mov ecx, dword [esp + 0x18]
add ecx, 0x4c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
jmp 0x5953c2
xor ebx, ebx
mov edi, 2
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x10]
call fcn.005c1b90
lea esi, [esp + 0x184]
call fcn.0058f000
mov ecx, esi
mov edi, 0x10
lea esi, [esp + 0x10]
mov dword [esp + 0x1f8], 6
call fcn.005c1b90
mov edi, 8
lea ecx, [esp + 0x194]
call fcn.005c1b90
mov edi, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
call fcn.005c1b90
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x59547c
mov dword [esp + 0x2c], eax
mov edi, 2
lea ecx, [esp + 0x20]
lea esi, [esp + 0x10]
call fcn.005c1b90
mov edi, 4
lea ecx, [esp + 0x3c]
call fcn.005c1b90
mov dx, word [esp + 0x20]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
mov word [esp + 0x44], dx
push ecx
lea edx, [esp + 0xa4]
push edx
lea ebx, [esp + 0x1a4]
mov dword [esp + 0x50], eax
call fcn.005a1820
sub dword [esp + 0x2c], 1
jne 0x59542a
mov edi, 4
lea ecx, [esp + 0x1a8]
lea esi, [esp + 0x10]
call fcn.005c1b90
lea ecx, [esp + 0x1ac]
call fcn.005c1b90
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x188]
mov ax, word [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x194]
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x19c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x198]
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x78], eax
call fcn.005a2bb0
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x8c]
mov byte [esp + 0x1fc], 7
mov ebx, dword [esp + 0x34]
push eax
call fcn.005a1ba0
lea eax, [esp + 0x74]
mov byte [esp + 0x1f8], 6
call fcn.005a2e30
lea eax, [esp + 0x19c]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.005a2e30
sub dword [esp + 0x34], 1
jne 0x5953c0
mov ebx, dword [esp + 0x18]
lea ecx, [ebx + 0x58]
mov edi, 0x10
lea esi, [esp + 0x10]
call fcn.005c1b90
lea ecx, [ebx + 0x68]
call fcn.005c1b90
lea esi, [ebx + 0x84]
mov ebx, esi
lea eax, [esp + 0x10]
call fcn.005c1ba0
xor ebx, ebx
push ebx
push 0x660950
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1a4], 0xf
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
call fcn.00405590
push ebx
mov dword [esp + 0x1fc], 8
mov ecx, dword [0x6ba058]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
lea eax, [esp + 0x188]
push eax
push esi
lea eax, [esp + 0x58]
push eax
call edx
mov ebx, dword [esp + 0x18]
push eax
lea eax, [ebx + 0x78]
mov byte [esp + 0x1fc], 9
call fcn.005a0aa0
lea esi, [esp + 0x4c]
mov byte [esp + 0x1f8], 8
call fcn.005a0a40
mov dword [esp + 0x1f8], 0xffffffff
cmp dword [esp + 0x19c], edi
jb 0x595637
mov eax, dword [esp + 0x188]
push eax
call fcn.0062414c
add esp, 4
lea ecx, [ebx + 0xa0]
mov edi, 4
lea esi, [esp + 0x10]
call fcn.005c1b90
lea ecx, [ebx + 0xa4]
mov edi, 8
call fcn.005c1b90
lea ecx, [ebx + 0xac]
mov edi, 4
call fcn.005c1b90
lea ecx, [ebx + 0xb0]
call fcn.005c1b90
lea ecx, [ebx + 0xb4]
call fcn.005c1b90
lea ecx, [ebx + 0xb8]
call fcn.005c1b90
lea ecx, [ebx + 0xbc]
call fcn.005c1b90
lea ecx, [ebx + 0xc0]
call fcn.005c1b90
lea ecx, [ebx + 0xc4]
call fcn.005c1b90
lea ecx, [ebx + 0xc8]
call fcn.005c1b90
lea ecx, [ebx + 0xcc]
call fcn.005c1b90
lea ecx, [ebx + 0xd0]
call fcn.005c1b90
sub dword [esp + 0x28], 1
mov ebx, dword [esp + 0x14]
jne 0x595141
mov ebx, dword [ebx + 0x14]
add ebx, 0xa0
lea eax, [esp + 0x10]
call fcn.005c1ba0
xor eax, eax
mov dword [esp + 0x1e4], 0xf
mov dword [esp + 0x1e0], eax
mov byte [esp + 0x1d0], al
lea ebx, [esp + 0x1cc]
lea eax, [esp + 0x10]
mov dword [esp + 0x1f8], 0xa
call fcn.005c1ba0
lea esi, [esp + 0x1b0]
call fcn.005b6110
mov ebx, dword [esp + 0x14]
push 0xffffffffffffffff
mov byte [esp + 0x1fc], 0xb
mov ecx, dword [ebx + 0x14]
push 0
add ecx, 0xbc
push eax
call fcn.00404e90
mov byte [esp + 0x1f8], 0xa
cmp dword [esp + 0x1c8], 8
jb 0x595772
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.0062414c
add esp, 4
lea ecx, [ebx + 0x18]
mov edi, 4
lea esi, [esp + 0x10]
call fcn.005c1b90
lea ecx, [esp + 0x30]
call fcn.005c1b90
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x595802
lea esi, [ebx + 0x1c]
mov edi, eax
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], 0
mov byte [esp + 0x1b4], 0
lea ebx, [esp + 0x1b0]
lea eax, [esp + 0x10]
mov byte [esp + 0x1f8], 0xc
call fcn.005c1ba0
mov edx, ebx
push edx
call fcn.00547130
mov byte [esp + 0x1f8], 0xa
cmp dword [esp + 0x1c8], 0x10
jb 0x5957f9
mov eax, dword [esp + 0x1b4]
push eax
call fcn.0062414c
add esp, 4
sub edi, 1
jne 0x595799
mov ebx, dword [esp + 0x14]
lea ecx, [ebx + 0x40]
mov edi, 8
lea esi, [esp + 0x10]
call fcn.005c1b90
lea ecx, [ebx + 0x48]
mov edi, 1
call fcn.005c1b90
lea ecx, [ebx + 0x2c]
call fcn.005c1b90
mov ecx, dword [esp + 0x38]
push ecx
mov byte [ebx + 0x2d], 0
call fcn.005c1700
cmp dword [esp + 0x1e4], 0x10
jb 0x595850
mov edx, dword [esp + 0x1d0]
push edx
call fcn.0062414c
add esp, 4
mov eax, ebx
jmp 0x595856
xor eax, eax
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.00626d59
mov esp, ebp
pop ebp
ret