Function at 0x458580
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call sub.mfc100.dll_Ordinal_9475
mov eax, dword [esi + 0x1ac0]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call edi
mov edx, dword [esi + 0x1ac0]
mov eax, dword [esi + 0x20]
push edx
xor ebx, ebx
push ebx
push 0x80
push eax
call edi
push 3
mov ecx, esi
call sub.mfc100.dll_Ordinal_12962
push 0xd4
push 0xd3
push 0x4c0
lea ecx, [esi + 0x1bbc]
push ecx
push esi
call fcn.00402f7c
push 0xdf
push 0xde
push 0x4c2
lea edx, [esi + 0x1c50]
push edx
push esi
call fcn.00402f7c
push 0x1c3
push 0x1c3
push 0x1c4
push 0x4d3
push 0x365
lea eax, [esi + 0x3408]
push eax
push esi
call fcn.00401a9b
add esp, 0x44
push 0x1be
push 0x1c0
push 0x1bf
push 0x4cf
push 0x364
lea ecx, [esi + 0x34b4]
push ecx
push esi
call fcn.00401a9b
push 0xf1
push 0xf0
push 0x4c7
lea edx, [esi + 0x1ce4]
push edx
push esi
call fcn.00402f7c
push 0xdb
push 0xda
push 0x4c3
lea eax, [esi + 0x1d78]
push eax
push esi
call fcn.00402f7c
add esp, 0x44
push 0xdd
push 0xdc
push 0x4c4
lea ecx, [esi + 0x1e0c]
push ecx
push esi
call fcn.00402f7c
push 0xe2
push 0xe1
push 0x4c5
lea edx, [esi + 0x1ea0]
push edx
push esi
call fcn.00402f7c
push 0xec
push 0x101
push 0x4d2
lea eax, [esi + 0x1f34]
push eax
push esi
call fcn.00402f7c
push 0xfc
push 0xfb
push 0x4b3
lea ecx, [esi + 0x20f0]
push ecx
push esi
call fcn.00402f7c
add esp, 0x50
push 0xfa
push 0xf9
push 0x4b2
lea edx, [esi + 0x2184]
push edx
push esi
call fcn.00402f7c
push 0xfc
push 0xfb
push 0x4be
lea eax, [esi + 0x2218]
push eax
push esi
call fcn.00402f7c
push 0xfa
push 0xf9
push 0x4bb
lea ecx, [esi + 0x22ac]
push ecx
push esi
call fcn.00402f7c
push 0xfa
push 0xf9
push 0x4c1
lea edx, [esi + 0x2340]
push edx
push esi
call fcn.00402f7c
add esp, 0x50
push 0xfa
push 0xf9
push 0x4c6
lea eax, [esi + 0x2468]
push eax
push esi
call fcn.00402f7c
push 0xfd
push 0xf3
push 0x4c8
lea ecx, [esi + 0x23d4]
push ecx
push esi
call fcn.00402f7c
push 0xca
push 0xcd
push 0x5fb
lea edx, [esi + 0x1fc8]
push edx
push esi
call fcn.00402f7c
push 0xca
push 0xcd
push 0x5fc
lea eax, [esi + 0x205c]
push eax
push esi
call fcn.00402f7c
add esp, 0x50
push 0x274
push 0x273
push 0x5af
lea ecx, [esi + 0x2590]
push ecx
push esi
call fcn.00402f7c
mov edx, dword [0x91146c]
mov eax, dword [0x911468]
push edx
push eax
lea edi, [esi + 0x3680]
push 0x1f
push edi
call fcn.004030e9
push ebx
push 0x2bc
call fcn.00401a23
add esp, 0x2c
push eax
mov ecx, edi
call sub.mfc100.dll_Ordinal_12962
push ebx
push 0x2bc
call fcn.00401a23
add esp, 8
push eax
lea ecx, [esi + 0x94]
call sub.mfc100.dll_Ordinal_12962
push esi
push 0x601
lea ecx, [esi + 0x24fc]
call sub.mfc100.dll_Ordinal_2207
push ebx
push ebx
push 0x1a5
push 0x1a4
lea ecx, [esi + 0x24fc]
call sub.mfc100.dll_Ordinal_7515
lea ecx, [esi + 0x24fc]
call sub.mfc100.dll_Ordinal_12967
push ebx
push 0x199
call fcn.0040298c
push ebx
push 0x19a
call fcn.0040298c
push ebx
push 0x197
call fcn.0040298c
push ebx
push 0x198
call fcn.0040298c
push 0x7d0
push ebx
push 1
push ebx
lea ecx, [esi + 0x3560]
push ecx
push 0x197
call fcn.00401da7
push 0x7d0
push ebx
push 1
push ebx
lea edx, [esi + 0x35f0]
push edx
push 0x198
call fcn.00401da7
add esp, 0x50
mov ecx, esi
call fcn.0040277f
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xdcffdc
call edi
push eax
lea ecx, [esi + 0x1b9c]
call sub.mfc100.dll_Ordinal_2184
push 0xffffff
call edi
push eax
lea ecx, [esi + 0x1ba4]
call sub.mfc100.dll_Ordinal_2184
push 0xdcf0f0
call edi
push eax
lea ecx, [esi + 0x1bac]
call sub.mfc100.dll_Ordinal_2184
push 0xffffff
call edi
push eax
lea ecx, [esi + 0x1bb4]
call sub.mfc100.dll_Ordinal_2184
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_LoadBitmapA]
push 0xc5
push eax
call edi
mov dword [esi + 0x2624], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0xc2
push eax
call edi
mov dword [esi + 0x2628], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x186
push eax
call edi
mov dword [esi + 0x262c], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x187
push eax
call edi
mov dword [esi + 0x2630], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x185
push eax
call edi
mov dword [esi + 0x2634], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x189
push eax
call edi
mov dword [esi + 0x2638], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x188
push eax
call edi
mov dword [esi + 0x263c], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x18a
push eax
call edi
mov dword [esi + 0x2640], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x193
push eax
call edi
mov dword [esi + 0x2644], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x18e
push eax
call edi
mov dword [esi + 0x2648], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x18d
push eax
call edi
mov dword [esi + 0x264c], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x192
push eax
call edi
mov dword [esi + 0x2650], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x191
push eax
call edi
mov dword [esi + 0x2654], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x190
push eax
call edi
mov dword [esi + 0x2658], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x18f
push eax
call edi
mov dword [esi + 0x265c], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x18c
push eax
call edi
mov dword [esi + 0x2660], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x18b
push eax
call edi
mov dword [esi + 0x2664], eax
mov edi, dword [sym.imp.mfc100.dll_Ordinal_4283]
lea eax, [esi + 0x1158]
mov dword [esi + 0x2668], eax
lea ecx, [esi + 0x11cc]
mov dword [esi + 0x266c], ecx
lea edx, [esi + 0x1240]
mov dword [esi + 0x2670], edx
lea eax, [esi + 0x12b4]
mov dword [esi + 0x2674], eax
lea ecx, [esi + 0x1328]
mov dword [esi + 0x2678], ecx
lea edx, [esi + 0x139c]
mov dword [esi + 0x267c], edx
lea eax, [esi + 0x1410]
mov dword [esi + 0x2680], eax
lea ecx, [esi + 0x1484]
mov dword [esi + 0x2684], ecx
lea edx, [esi + 0x14f8]
mov dword [esi + 0x2688], edx
lea eax, [esi + 0x156c]
mov dword [esi + 0x268c], eax
lea ecx, [esi + 0x15e0]
mov dword [esi + 0x2690], ecx
lea edx, [esi + 0x1654]
mov dword [esi + 0x2694], edx
lea eax, [esi + 0x16c8]
mov dword [esi + 0x2698], eax
lea ecx, [esi + 0x173c]
mov dword [esi + 0x269c], ecx
lea edx, [esi + 0x17b0]
mov dword [esi + 0x26a0], edx
lea eax, [esi + 0x1824]
lea ecx, [esi + 0x1898]
lea edx, [esi + 0x190c]
mov dword [esi + 0x26a4], eax
mov dword [esi + 0x26a8], ecx
mov dword [esi + 0x26ac], edx
lea eax, [esi + 0x1980]
lea ecx, [esi + 0x19f4]
lea edx, [esi + 0x1ab0]
mov dword [esi + 0x26b0], eax
mov dword [esi + 0x26b4], ecx
mov dword [esi + 0x26b8], edx
lea eax, [esi + 0x1ab4]
lea ecx, [esi + 0x1ab8]
lea edx, [esi + 0x1abc]
mov dword [esi + 0x26bc], eax
mov dword [esi + 0x26c0], ecx
mov dword [esi + 0x26c4], edx
cmp byte [0x4ac560], bl
je 0x458c19
lea eax, [ebp - 0x104]
push eax
push 0x4ac560
call fcn.00401023
lea ecx, [ebp - 0x104]
push ecx
lea edx, [esi + 0x1a78]
push 0x4937dc
push edx
call edi
add esp, 0x14
cmp byte [0x4ac460], bl
je 0x458c4a
lea eax, [ebp - 0x104]
push eax
push 0x4ac460
call fcn.00401023
lea ecx, [ebp - 0x104]
push ecx
lea edx, [esi + 0x1a84]
push 0x4937dc
push edx
call edi
add esp, 0x14
mov dword [esi + 0x1b1c], ebx
mov dword [esi + 0x1ad8], ebx
mov dword [esi + 0x1acc], ebx
mov dword [esi + 0x1b14], ebx
mov dword [esi + 0x1b10], ebx
mov dword [esi + 0x1b0c], ebx
mov dword [esi + 0x1b08], ebx
mov dword [esi + 0x1ad4], ebx
mov dword [esi + 0x1ad0], ebx
mov ecx, 1
mov dword [esi + 0x1b24], ecx
mov dword [esi + 0x1b18], ecx
mov dword [0x4ac668], ebx
mov dword [esi + 0x1b20], ebx
mov eax, dword [0x4ac668]
mov dword [esi + 0x1b28], eax
or eax, 0xffffffff
mov dword [esi + 0x1b88], eax
mov dword [esi + 0x1b84], eax
mov dword [esi + 0x1b80], eax
mov dword [esi + 0x1b7c], eax
mov dword [esi + 0x1b98], eax
mov dword [esi + 0x1b94], eax
mov dword [esi + 0x1b8c], eax
mov dword [esi + 0x1b90], eax
mov dword [0x4a4400], eax
mov dword [esi + 0x1b04], ecx
mov dword [0x4ac664], ebx
push 0xcd
mov dword [esi + 0x1adc], ebx
mov dword [esi + 0x1ae0], ebx
mov dword [esi + 0x1ae4], ebx
mov dword [esi + 0x1ae8], ebx
mov dword [esi + 0x1aec], ebx
mov dword [esi + 0x1af0], ebx
mov dword [esi + 0x1af4], ebx
mov dword [esi + 0x1af8], ebx
mov dword [esi + 0x1afc], ebx
mov dword [esi + 0x1b00], ebx
call fcn.0040209a
push 0xcc
mov edi, eax
call fcn.0040209a
add esp, 8
cmp edi, eax
jle 0x458d77
push ebx
cmp dword [0x4ac6e0], ebx
jne 0x458d68
push 0xca
call fcn.004014a6
push ebx
push 0xcd
call fcn.004014a6
add esp, 0x10
jmp 0x458d77
push 1
push 0x374
call fcn.004022cf
add esp, 0xc
cmp dword [0x4a4404], ebx
jne 0x458dcf
push ebx
push 0x4cd
mov ecx, esi
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push ebx
push 0x5fd
mov ecx, esi
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push ebx
push 0x4d0
mov ecx, esi
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push ebx
push 0x5fe
mov ecx, esi
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push ebx
push 0x325
call fcn.00401a23
add esp, 8
test eax, eax
jne 0x458e09
push ebx
push 0x648
mov ecx, esi
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push ebx
push 0x653
mov ecx, esi
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
mov dword [ebp - 0x108], ebx
mov edi, 0x4a74c0
mov ecx, dword [ebp - 0x108]
push edi
push ecx
mov ecx, 0x4a79a0
call fcn.004011a9
inc dword [ebp - 0x108]
add edi, 0x138
cmp edi, 0x4a79a0
jl 0x458e14
mov ecx, esi
call fcn.004015af
mov ecx, esi
call fcn.004014d3
push ebx
push 4
push ebx
push ebx
push esi
push 0x401942
mov dword [0x4a7a44], 1
call sub.mfc100.dll_Ordinal_1854
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x4a7a30], eax
mov dword [eax + 0x28], ebx
mov edx, dword [0x4a7a30]
mov eax, dword [edx + 0x2c]
push eax
call edi
push ebx
push 4
push ebx
push ebx
push esi
push 0x4015f0
call sub.mfc100.dll_Ordinal_1854
mov dword [0x4a7a34], eax
mov dword [eax + 0x28], ebx
mov ecx, dword [0x4a7a34]
mov edx, dword [ecx + 0x2c]
push edx
call edi
push ebx
push 4
push ebx
push ebx
push esi
push 0x40259f
call sub.mfc100.dll_Ordinal_1854
mov dword [0x4a7a38], eax
mov dword [eax + 0x28], ebx
mov eax, dword [0x4a7a38]
mov ecx, dword [eax + 0x2c]
push ecx
call edi
push ebx
push 4
push ebx
push ebx
push esi
push 0x402f54
call sub.mfc100.dll_Ordinal_1854
mov dword [0x4a7a3c], eax
mov dword [eax + 0x28], ebx
mov edx, dword [0x4a7a3c]
mov eax, dword [edx + 0x2c]
push eax
call edi
call fcn.0040150a
push ebx
push 1
push 0x259
call fcn.004022cf
push ebx
push ebx
push 0x25a
call fcn.004022cf
push ebx
push 0x324
call fcn.00401a23
push ebx
push ebx
push 0x34d
mov dword [0x4a4420], eax
call fcn.004022cf
push ebx
push ebx
push 0x351
call fcn.004022cf
push ebx
push 1
push 0x35e
call fcn.004022cf
add esp, 0x44
push ebx
push ebx
push 0x263
call fcn.004022cf
add esp, 0xc
mov ecx, esi
call fcn.00402347
push 1
mov ecx, esi
call sub.mfc100.dll_Ordinal_3963
xor ecx, ecx
push 0xc9
mov word [esi + 0x3794], cx
call fcn.00401db1
mov edx, dword [eax]
push 0xce
mov dword [esi + 0x3714], edx
call fcn.00401db1
mov eax, dword [eax]
add esp, 8
push ebx
mov ecx, esi
mov dword [esi + 0x3718], eax
call sub.mfc100.dll_Ordinal_13219
push ebx
push 0x12d
call fcn.00401a23
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
mov dword [0x4a506c], eax
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret