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

Disassembly:
sub esp, 0x35c
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
mov ebx, dword [esp + 0x368]
push ebp
push esi
mov esi, dword [esp + 0x36c]
push edi
push str.ui_show_n
call fcn.0048f0a0
add esp, 4
lea eax, [esp + 0x258]
mov ebp, 1
xor edi, edi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], edi
call fcn.00522730
lea ecx, [esp + 0x148]
push ecx
call fcn.00522730
cmp dword [esi + 0x2c8], edi
mov dword [esp + 0x2c], ebp
je 0x4cbfb8
mov edx, dword [esi + 0x2c4]
mov dword [esp + 0x1c], edx
jmp 0x4cbfc5
mov eax, dword [esi + 0x60]
push eax
call fcn.004ad280
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1b4]
sub eax, 2
mov ecx, dword [esi + 0x2c8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
je 0x4cc016
sub eax, ebp
je 0x4cbfe8
mov dword [esp + 0x18], edi
jmp 0x4cc034
mov eax, dword [esi + 0x1b8]
lea edx, [esp + 0x148]
push edx
push eax
call fcn.00490130
mov ecx, dword [esi + 0x1b8]
push ecx
call fcn.00490930
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 2
jmp 0x4cc034
mov edx, dword [esi + 0x1b8]
push edx
call fcn.0040d0d0
push eax
lea eax, [esp + 0x25c]
push eax
call fcn.00523040
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x378]
cmp eax, 3
mov ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x2a0]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
je 0x4cc069
cmp eax, 2
je 0x4cc063
cmp eax, 6
je 0x4cc063
cmp eax, 7
jne 0x4cc06d
mov dword [esp + 0x20], ebp
jmp 0x4cc06d
mov dword [esp + 0x1c], ebp
cmp ebx, edi
mov ecx, 0x8000
je 0x4cc2f2
mov eax, dword [ebx + 4]
test eax, 0x200
je 0x4cc08a
mov dword [esp + 0x1c], ebp
jmp 0x4cc097
test dword [ebx + 8], 0x200
je 0x4cc097
mov dword [esp + 0x1c], edi
test eax, 0x400
je 0x4cc0a4
mov dword [esp + 0x20], ebp
jmp 0x4cc0b1
test dword [ebx + 8], 0x400
je 0x4cc0b1
mov dword [esp + 0x20], edi
test eax, 0x800
je 0x4cc0be
mov dword [esp + 0x24], ebp
jmp 0x4cc0cb
test dword [ebx + 8], 0x800
je 0x4cc0cb
mov dword [esp + 0x24], edi
test eax, 0x1000
je 0x4cc0db
mov byte [esi + 0x17b], 1
jmp 0x4cc0eb
test dword [ebx + 8], 0x1000
je 0x4cc0ef
mov byte [esi + 0x17b], 0
mov dword [esp + 0x10], ebp
mov eax, 0x2000
test dword [ebx + 4], eax
je 0x4cc102
mov byte [esi + 0x178], 1
jmp 0x4cc10e
test dword [ebx + 8], eax
je 0x4cc112
mov byte [esi + 0x178], 0
mov dword [esp + 0x10], ebp
mov eax, 0x4000
test dword [ebx + 4], eax
je 0x4cc125
mov byte [esi + 0x179], 1
jmp 0x4cc131
test dword [ebx + 8], eax
je 0x4cc135
mov byte [esi + 0x179], 0
mov dword [esp + 0x10], ebp
test dword [ebx + 4], ecx
je 0x4cc143
mov byte [esi + 0x17a], 1
jmp 0x4cc14f
test dword [ebx + 8], ecx
je 0x4cc153
mov byte [esi + 0x17a], 0
mov dword [esp + 0x10], ebp
mov eax, 0x10000
test dword [ebx + 4], eax
je 0x4cc166
mov byte [esi + 0x17c], 1
jmp 0x4cc172
test dword [ebx + 8], eax
je 0x4cc176
mov byte [esi + 0x17c], 0
mov dword [esp + 0x10], ebp
mov eax, 0x200000
test dword [ebx + 4], eax
je 0x4cc195
cmp dword [esi + 0x2cc], ebp
je 0x4cc1b2
mov eax, dword [esi + 0x60]
push ebp
mov dword [esi + 0x2cc], ebp
push eax
jmp 0x4cc1ad
test dword [ebx + 8], eax
je 0x4cc1b2
cmp dword [esi + 0x2cc], edi
je 0x4cc1b2
mov ecx, dword [esi + 0x60]
push edi
mov dword [esi + 0x2cc], edi
push ecx
call fcn.004aeb90
cmp dword [ebx + 0x84], edi
je 0x4cc200
lea edx, [esp + 0x38]
push edx
call fcn.00522730
movsx eax, byte [esi + 0x17b]
push ebx
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00405d80
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x180]
push edx
push eax
call fcn.005220d0
lea ecx, [esp + 0x38]
push ecx
mov dword [esi + 0x180], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ebp
call fcn.00401260
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x4cc264
push eax
call fcn.00499830
mov edi, eax
test edi, edi
jne 0x4cc225
mov edx, dword [0x5980cc]
push edx
call fcn.00499680
mov edi, eax
test edi, edi
je 0x4cc25e
mov eax, dword [edi]
mov ecx, dword [esi + 0xac]
push eax
push ecx
call fcn.005220d0
cmp dword [esi + 0xa0], 0
mov dword [esi + 0xac], eax
je 0x4cc25e
push 0
push edi
call fcn.00499600
mov edx, dword [esi + 0xa0]
push eax
push 0x14e
push edx
call dword [0x597dc4]
mov dword [esp + 0x10], ebp
xor edi, edi
mov eax, dword [ebx + 0x6c]
cmp eax, 0xffffffff
je 0x4cc287
cmp dword [ebx + 0x68], edi
mov dword [esp + 0x34], eax
jne 0x4cc27f
push eax
call fcn.004c37e0
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x68]
cmp eax, edi
je 0x4cc2a1
xor ecx, ecx
cmp eax, edi
setg cl
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ecx
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x4cc2bc
push eax
lea edx, [esp + 0x25c]
push edx
call fcn.00523040
mov dword [esp + 0x18], ebp
jmp 0x4cc2ee
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x4cc2e2
push eax
lea eax, [esp + 0x14c]
push eax
call fcn.00523040
mov ecx, dword [ebx + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], 2
jmp 0x4cc2ee
test dword [ebx], 0x400
je 0x4cc2f2
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 0x180]
mov eax, dword [esi + 0x68]
movsx edi, byte [0x58a6c6]
push edx
push eax
mov dword [esi + 0x1f8], ebp
call fcn.004a9a20
mov eax, edi
sub eax, 0
mov dword [esi + 0x1f8], 0
je 0x4cc343
sub eax, 2
je 0x4cc33a
mov ecx, dword [esi + 0x68]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [0x597dc4]
jmp 0x4cc343
mov edx, dword [esi + 0x68]
push edx
call fcn.004af920
cmp dword [esi + 0x2cc], 2
jne 0x4cc35f
mov eax, dword [esi + 0x180]
movzx ecx, byte [eax]
mov edx, dword [esi + 0x60]
push ecx
push edx
call fcn.004aeb90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
push esi
call fcn.004eb9c0
test ebx, ebx
mov eax, dword [esi + 0x358]
je 0x4cc3c1
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x4cc3a2
mov eax, ecx
mov ecx, dword [0x58a5ec]
cmp eax, ecx
jge 0x4cc390
mov eax, ecx
mov ecx, dword [0x58a5f0]
cmp eax, ecx
jle 0x4cc39c
mov eax, ecx
cmp eax, ebp
jge 0x4cc3a2
mov eax, ebp
mov ecx, dword [ebx]
test ecx, 0x80000
je 0x4cc3b1
push eax
push 0
jmp 0x4cc3bb
test ecx, 0x100000
je 0x4cc3c1
push eax
push ebp
push esi
call fcn.004f5b00
push esi
call fcn.004c4f10
push esi
call fcn.004c16e0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push 0
push edi
push edx
push eax
push esi
call fcn.004c2340
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4cc405
push ebp
push esi
call fcn.0050f890
mov edx, dword [esi + 0x60]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4cc425
mov eax, dword [esi + 0x60]
push eax
call fcn.004b2880
cmp dword [esp + 0x30], edi
push esi
je 0x4cc420
call fcn.004c64a0
jmp 0x4cc425
call fcn.004c64f0
xor edi, edi
xor ebp, ebp
test ebx, ebx
je 0x4cc450
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4cc450
mov ecx, dword [0x597de0]
push eax
push ecx
call fcn.00403410
mov edi, eax
test edi, edi
je 0x4cc450
test dword [edi + 8], 0x8000
jne 0x4cc4c1
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x4cc489
sub eax, 1
je 0x4cc46d
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00511660
mov ebp, eax
jmp 0x4cc4c1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x150]
push eax
push ecx
push edx
push esi
call fcn.00511840
mov ebp, eax
jmp 0x4cc4c1
lea eax, [esp + 0x38]
push eax
call fcn.00522730
mov ecx, dword [esp + 0x260]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00525620
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push esi
call fcn.005116b0
lea edx, [esp + 0x38]
push edx
mov ebp, eax
call fcn.00401260
test edi, edi
je 0x4cc4cc
call fcn.004cb6f0
jmp 0x4cc507
test ebx, ebx
je 0x4cc4e0
test dword [ebx], 0x400000
je 0x4cc4e0
push esi
call fcn.004cab70
jmp 0x4cc507
test ebp, ebp
je 0x4cc4ef
mov eax, dword [esp + 0x14]
push 0
push 1
push eax
jmp 0x4cc4ff
cmp dword [esp + 0x10], 0
je 0x4cc507
mov ecx, dword [esp + 0x14]
push 0
push 1
push ecx
push 1
push esi
call fcn.00511140
test ebx, ebx
je 0x4cc567
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4cc51d
push 1
push eax
push esi
call fcn.004c42e0
jmp 0x4cc567
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4cc567
add eax, 0xffffffff
xor edi, edi
cmp eax, 3
ja case.default.0x4cc52e
jmp dword [eax*4 + 0x4cc59c]
mov edi, 1
jmp case.default.0x4cc52e
mov edi, 2
jmp case.default.0x4cc52e
mov edi, 5
jmp case.default.0x4cc52e
mov edi, 6
mov edx, dword [esi + 0x2e4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
je 0x4cc567
push edi
push esi
call fcn.004f6f90
lea eax, [esp + 0x148]
push eax
call fcn.00401260
lea ecx, [esp + 0x258]
push ecx
call fcn.00401260
mov ecx, dword [esp + 0x368]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x35c
ret 0xc