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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
mov eax, dword [ebp + 4]
push esi
xor esi, esi
push edi
xor edi, edi
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], edi
mov ebx, 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], esi
je 0x454b37
movzx eax, byte [eax]
push eax
call fcn.005daff5
add esp, 4
test eax, eax
je 0x454b37
mov ecx, dword [ebp + 4]
push 0x2d
push ecx
call fcn.005d9b20
add esp, 8
cmp eax, esi
je 0x454b22
mov byte [eax], 0
inc eax
push eax
call fcn.005d9a55
add esp, 4
mov dword [esp + 0x48], eax
mov edx, dword [ebp + 4]
push edx
call fcn.005d9a55
add esp, 4
mov dword [esp + 0x28], eax
mov ebx, 2
mov eax, dword [ebp + ebx*4]
cmp eax, esi
je 0x454d66
cmp byte [eax], 0x2d
jne 0x454d66
mov esi, eax
mov al, byte [esi]
test al, al
je 0x454d63
cmp al, 0x61
jne 0x454bae
call fcn.0058ec80
push eax
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
jne 0x454d2a
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
push ecx
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
jne 0x454d2a
mov dword [esp + 0x14], edi
push 7
mov eax, dword [ebp]
push 0
push eax
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp al, 0x73
jne 0x454bea
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
push eax
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
jne 0x454d2a
mov ecx, dword [ebp]
push 7
push eax
push ecx
push eax
mov dword [esp + 0x24], edi
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp al, 0x67
jne 0x454c25
mov ecx, dword [0x6a0f58]
push ecx
call fcn.0058ea30
mov edi, eax
add esp, 4
test edi, edi
jne 0x454d2a
mov dword [esp + 0x14], edi
mov edx, dword [ebp]
push 7
push 0
push edx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp al, 0x70
jne 0x454c36
mov dword [esp + 0x40], 1
jmp 0x454d2a
cmp al, 0x6c
jne 0x454c47
mov dword [esp + 0x30], 1
jmp 0x454d2a
cmp al, 0x65
jne 0x454c58
mov dword [esp + 0x54], 1
jmp 0x454d2a
cmp al, 0x68
jne 0x454c69
mov dword [esp + 0x3c], 1
jmp 0x454d2a
cmp al, 0x6f
jne 0x454c7a
mov dword [esp + 0x4c], 1
jmp 0x454d2a
cmp al, 0x72
jne 0x454c8b
mov dword [esp + 0x50], 1
jmp 0x454d2a
cmp al, 0x6e
jne 0x454c9c
mov dword [esp + 0x34], 1
jmp 0x454d2a
cmp al, 0x6d
jne 0x454cad
mov dword [esp + 0x44], 1
jmp 0x454d2a
cmp al, 0x63
jne 0x454cd4
mov al, byte [esi + 1]
inc esi
test al, al
je 0x454d2a
push esi
call fcn.005d9a55
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jge 0x454d2a
mov dword [esp + 0x10], 0xffffffff
jmp 0x454d2a
cmp al, 0x74
je 0x454d3c
cmp al, 0x69
jne 0x454d2a
mov al, byte [esi + 1]
test al, al
je 0x454d22
movzx edx, al
push edx
call fcn.005daff5
add esp, 4
test eax, eax
je 0x454d22
inc esi
push esi
call fcn.005d9a55
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
jge 0x454d0f
mov dword [esp + 0x24], 0
jmp 0x454d2a
mov ecx, dword [esp + 0x24]
mov eax, 0x32
cmp ecx, eax
jle 0x454d2a
mov dword [esp + 0x24], eax
jmp 0x454d2a
mov dword [esp + 0x24], 2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x454b58
mov dword [esp + 0x14], edi
jmp 0x454d63
mov al, byte [esi + 1]
inc esi
test al, al
mov dword [esp + 0x14], edi
je 0x454d63
mov eax, dword [esp + 0x6c]
push esi
push 0x5f4cf8
push eax
call fcn.005d9929
add esp, 0xc
mov dword [esp + 0x38], 1
inc ebx
xor esi, esi
mov eax, dword [ebp + ebx*4]
cmp eax, esi
jne 0x454d85
mov ecx, dword [ebp]
push esi
push esi
push ecx
push esi
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov esi, dword [esp + 0x68]
je 0x454ea2
push eax
call fcn.00466db0
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x454c0b
mov eax, dword [ebp + ebx*4 + 4]
inc ebx
test eax, eax
je 0x454e81
push eax
call fcn.005d9a55
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x264]
add esp, 4
add eax, 0x1770
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [esp + 0x18], eax
je 0x455039
push 0x1036
push esi
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.ListBox
push esi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x454e0a
mov dword [esp + 0x2c], eax
jmp 0x454e36
push esi
call fcn.0048a480
add esp, 4
test eax, eax
je 0x454e21
mov dword [esp + 0x2c], 1
jmp 0x454e36
push esi
call fcn.0048a430
add esp, 4
test eax, eax
je 0x454e88
mov dword [esp + 0x2c], 2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00466df0
add esp, 8
test eax, eax
je 0x454e74
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x454e74
mov edx, dword [esp + 0x18]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x58], 1
mov eax, dword [ebp + ebx*4 + 4]
inc ebx
test eax, eax
jne 0x454ffb
push 0
jmp 0x454b96
mov ecx, dword [ebp]
push 3
push 0
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
test edi, edi
jne 0x454f92
cmp byte [eax], 0x3d
jne 0x454f72
mov cl, byte [eax + 1]
test cl, cl
je 0x454f72
mov edi, dword [esp + 0x80]
test edi, edi
je 0x454f05
mov edx, dword [edi + 0x3020]
push edx
call fcn.00434880
add esp, 4
test eax, eax
je 0x454f05
mov eax, dword [ebp + ebx*4]
mov ecx, dword [edi + 0x3020]
inc eax
push eax
add ecx, 0x1070
push ecx
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x454f05
mov edi, dword [edi + 0x3020]
test edi, edi
jne 0x454f5f
mov edi, dword [0x634560]
test edi, edi
je 0x454f39
nop
mov edx, dword [ebp + ebx*4]
inc edx
push edx
lea eax, [edi + 0x1070]
push eax
call fcn.005f1860
add esp, 8
test eax, eax
je 0x454f35
mov edi, dword [edi + 0x2104]
test edi, edi
jne 0x454f10
jmp 0x454f39
test edi, edi
jne 0x454f5f
push 6
push 0
push 0
push 0x341
call fcn.00424130
add esp, 8
push eax
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [edi]
push ecx
call fcn.0058ea30
add esp, 4
mov dword [esp + 0x14], eax
mov edi, eax
jmp 0x454f89
mov edx, dword [esp + 0x84]
push edx
push eax
call fcn.005091b0
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
inc ebx
test edi, edi
je 0x454b94
mov eax, dword [edi + 0x1314]
test eax, eax
je 0x454faf
cmp eax, 1
je 0x454faf
cmp eax, 2
je 0x454faf
cmp eax, 9
jne 0x454b94
cmp eax, 9
jne 0x454fda
mov eax, dword [edi + 0x1318]
cmp eax, 1
je 0x454fda
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x454fcc
cmp eax, 2
je 0x454fda
mov eax, dword [edi + 0x134c]
test eax, eax
jne 0x454b94
cmp dword [ebp + ebx*4], 0
jne 0x454ffb
mov ecx, dword [ebp]
push 0
push 0
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push 0
push 0x400
push esi
push ebx
push ebp
call fcn.0051d080
add esp, 0x14
test eax, eax
jge 0x45502b
mov edx, dword [ebp]
push 3
push 0
push edx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push esi
push esi
call fcn.004222f0
add esp, 8
test eax, eax
jne 0x455040
push 3
jmp 0x454b96
push str..ini
push esi
call fcn.00422dc0
add esp, 8
test eax, eax
je 0x455061
push esi
push 0
push 0
push 0
call fcn.004cdea0
add esp, 0x10
push 0x40
push 0x5f4c88
push esi
call fcn.005da940
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x64], ebx
jne 0x455093
mov ecx, dword [ebp]
push 4
push esi
push ecx
push eax
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push 0x1000
push 0
push 0
push ebx
call fcn.005dbb35
mov eax, dword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x455126
push ebx
push 0x1036
push esi
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x455103
mov ebx, dword [esp + 0x6c]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4550d0
sub eax, edx
push eax
push esi
push ebx
call fcn.005f18c9
add esp, 0xc
test eax, eax
je 0x4551e0
mov edx, dword [esp + 0x64]
push edx
push 0x1036
push esi
call fcn.005da8ba
add esp, 0xc
test eax, eax
jne 0x4550c4
mov eax, dword [esp + 0x64]
push eax
call fcn.005da869
mov ecx, dword [ebp]
push 3
push esi
push ecx
push 0
call fcn.0048bd90
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, dword [esp + 0x28]
jle 0x45516e
mov ebp, 1
cmp eax, ebp
mov dword [esp + 0x20], ebp
jle 0x4551e0
jmp 0x455150
mov ebx, dword [esp + 0x64]
lea esp, [esp]
push ebx
push 0x1036
push esi
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x4551dc
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x455145
jmp 0x4551dc
test eax, eax
jle 0x4551e0
push ebx
push 0x1036
xor ebp, ebp
push esi
mov dword [esp + 0x2c], ebp
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x4551a8
jmp 0x455190
push ebx
push 0x1036
push esi
inc ebp
call fcn.005da8ba
add esp, 0xc
test eax, eax
jne 0x455190
mov dword [esp + 0x20], ebp
push 0
push 0
push ebx
call fcn.005db7ce
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp ebp, eax
jle 0x4551e0
lea ecx, [ecx]
push ebx
push 0x1036
push esi
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x4551dc
mov eax, dword [esp + 0x28]
dec ebp
cmp ebp, eax
jg 0x4551c0
mov dword [esp + 0x20], ebp
mov ebx, dword [esp + 0x18]
xor ebp, ebp
cmp ebx, ebp
jne 0x455252
cmp dword [edi + 0x1314], 9
jne 0x45522b
mov eax, dword [edi + 0x1318]
cmp eax, 1
je 0x455209
cmp dword [esp + 0x30], ebp
je 0x45522b
cmp eax, 2
jne 0x45522b
cmp dword [esp + 0x10], 0xffffffff
jne 0x45521a
mov edx, dword [0x63cabc]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x1488]
push ebp
push ebp
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x10], 0xffffffff
jne 0x45523c
mov ecx, dword [0x63caa4]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x34], ebp
jne 0x455252
mov edx, dword [edi + 0x12a0]
mov dword [esp + 0x5c], edx
mov dword [edi + 0x12a0], ebp
cmp dword [esp + 0x50], ebp
je 0x45532b
cmp ebx, ebp
je 0x4552d2
mov eax, dword [esp + 0x2c]
cmp eax, 2
jne 0x455294
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push 1
push ebx
mov dword [ebp + 0x3d0], 1
call fcn.00489e90
add esp, 0x10
push 0x5f4c90
push 0
push 0xc2
jmp 0x4552b0
cmp eax, 1
jne 0x4552c3
push 0
push 0
push 0x14b
mov ebp, dword [esp + 0x28]
mov dword [ebp + 0x3d0], 1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 0x3d0], 0
jmp 0x45532b
cmp eax, ebp
jne 0x45532b
push 0
push 0
push 0x184
jmp 0x4552a2
push ebp
mov dword [edi + 0x131c], ebp
call fcn.0055f1c0
mov eax, dword [edi + 0x1314]
add esp, 4
cmp eax, 9
jne 0x455316
mov eax, dword [edi + 0x1318]
cmp eax, 1
je 0x455302
cmp dword [esp + 0x30], ebp
je 0x455316
cmp eax, 2
jne 0x455316
mov eax, dword [edi + 0x1488]
push ebp
push ebp
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [edi + 0x12c4]
push ecx
call fcn.004e8c50
add esp, 4
mov dword [edi + 0x1304], ebp
mov eax, dword [esp + 0x64]
mov edx, dword [0x6870c8]
push eax
push 0x1036
push esi
mov dword [esp + 0x5c], edx
mov dword [0x6870c8], 1
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x455790
mov eax, dword [esp + 0x38]
test eax, eax
mov ebx, dword [esp + 0x64]
je 0x455377
push esi
call fcn.004ce5b0
add esp, 4
test eax, eax
jne 0x455790
push 0xa
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x455389
mov byte [eax], 0
push 0xd
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45539b
mov byte [eax], 0
cmp byte [esi], 0
jne 0x4554ba
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45541e
push ebx
call fcn.005dce9c
push ebx
push 0x1036
push esi
mov ebp, eax
mov edi, 1
call fcn.005da8ba
add esp, 0x10
test eax, eax
je 0x455406
lea esp, [esp]
push esi
call fcn.004ce5b0
add esp, 4
test eax, eax
jne 0x455406
push 0x5f55fc
push esi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x455404
push ebx
push 0x1036
push esi
call fcn.005da8ba
add esp, 0xc
test eax, eax
jne 0x4553d0
jmp 0x455406
xor edi, edi
push 0
push ebp
push ebx
call fcn.005db7ce
add esp, 0xc
test edi, edi
mov edi, dword [esp + 0x14]
jne 0x455790
mov byte [esi], 0x20
mov byte [esi + 1], 0
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x45559a
mov ecx, dword [esp + 0x2c]
cmp ecx, 2
jne 0x45564a
mov ecx, dword [esp + 0x1c]
push 0x5f4c8c
push esi
mov dword [ecx + 0x3d0], 1
call fcn.005da9a0
add esp, 8
test eax, eax
jne 0x455483
mov edi, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x455461
mov dx, word [0x5f4c8c]
mov ebx, dword [esp + 0x18]
mov word [edi], dx
mov al, byte [0x5f4c8e]
mov byte [edi + 2], al
mov edi, dword [esp + 0x14]
push 0x7d000
push 0x7d000
push 1
push ebx
call fcn.00489e90
add esp, 0x10
push esi
push 0
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x3d0], 0
jmp 0x45575e
mov eax, dword [esp + 0x54]
test eax, eax
je 0x455425
push 0x5f78a0
push esi
call fcn.005dc370
add esp, 8
test eax, eax
je 0x455425
mov ebp, dword [esp + 0x6c]
mov edx, ebp
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4554e6
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x455550
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
inc ecx
push ecx
push edx
push 0
push 0
push ebp
push eax
call fcn.004b5b40
add esp, 0x24
test eax, eax
je 0x45553f
mov edx, esi
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455530
jmp 0x455429
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x45575e
jmp 0x455429
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [edi]
inc ecx
push ecx
push edx
push 0
push 0
push ebp
push eax
call fcn.004b5b40
add esp, 0x24
test eax, eax
je 0x455639
mov edx, esi
mov eax, ebp
sub edx, ebp
jmp 0x455590
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455590
mov eax, dword [edi + 0x1314]
test eax, eax
je 0x45570f
cmp eax, 1
je 0x45570f
cmp eax, 2
je 0x45570f
cmp eax, 9
jne 0x45575e
mov eax, dword [edi + 0x1318]
cmp eax, 1
je 0x4556ce
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4555e3
cmp eax, 2
je 0x4556ce
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [edi + 0x1d54]
push eax
push ecx
and edx, 1
push edx
push esi
push edi
call fcn.004e8ca0
add esp, 0x1c
test eax, eax
je 0x455790
mov eax, dword [edi + 0x12a0]
test eax, eax
je 0x45575e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45575e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
push eax
push ecx
jmp 0x455754
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x45575e
jmp 0x45559a
mov eax, 1
cmp ecx, eax
jne 0x45568d
mov ebp, dword [esp + 0x1c]
push esi
push 0
push 0x143
push ebx
mov dword [ebp + 0x3d0], eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov dword [ebp + 0x3d0], 0
je 0x455790
cmp eax, 0xfffffffe
je 0x455790
jmp 0x45575e
test ecx, ecx
jne 0x45575e
mov ebp, dword [esp + 0x1c]
push esi
push ecx
push 0x180
push ebx
mov dword [ebp + 0x3d0], eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov dword [ebp + 0x3d0], 0
je 0x455790
cmp eax, 0xfffffffe
je 0x455790
jmp 0x45575e
mov edx, dword [edi + 0x1488]
push esi
push 0
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x455790
cmp eax, 0xfffffffe
je 0x455790
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x1488]
push ecx
push eax
push 0x19a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x45575e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [edi + 0x1d54]
push ecx
push edx
and eax, 1
push eax
push esi
push edi
call fcn.004e8ca0
add esp, 0x1c
test eax, eax
je 0x455790
mov eax, dword [edi + 0x12a0]
test eax, eax
je 0x45575e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45575e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
push ecx
push edx
push esi
push edi
call fcn.004ebca0
add esp, 0x10
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x45576c
cmp dword [esp + 0x20], eax
jge 0x455790
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
push eax
inc edx
push 0x1036
push esi
mov dword [esp + 0x2c], edx
call fcn.005da8ba
add esp, 0xc
test eax, eax
jne 0x45535a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.005da869
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
add esp, 4
test esi, esi
mov dword [0x6870c8], edx
je 0x455814
cmp dword [esp + 0x2c], 2
jge 0x4557c6
push 0
push 0
push 0x19e
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.00466df0
add esp, 8
test eax, eax
je 0x4558bc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4558bc
push 0
push 1
push 0xb
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x455826
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x12a0], ecx
mov eax, dword [edi + 0x1314]
test eax, eax
je 0x4558a9
cmp eax, 1
je 0x4558a9
cmp eax, 2
je 0x4558a9
cmp eax, 9
jne 0x4558bc
mov eax, dword [edi + 0x1318]
cmp eax, 1
je 0x455857
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4558a9
cmp eax, 2
jne 0x4558a9
mov edx, dword [edi + 0x1488]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19e
push edx
call esi
mov eax, dword [edi + 0x1488]
push 0
push 1
push 0xb
push eax
call esi
mov ecx, dword [edi + 0x1488]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x1488]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
push 1
push edi
call fcn.00591350
push 0
push edi
call fcn.0058ee20
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret