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

Disassembly:
push 0xffffffffffffffff
push 0x5ec6ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x64c]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [esi + 0x64c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0x1109
push ecx
call ebx
push eax
call fcn.005ba335
mov dword [esi + 0x5f0], 1
mov edx, dword [esi + 0x64c]
push 0xffff0000
push edi
push 0x1101
push edx
call ebx
lea ebp, [esi + 0x1784]
mov dword [esi + 0x5f0], edi
mov ecx, ebp
call fcn.005ba31f
push 0xff00ff
push edi
push 0x10
push 0xd8
mov ecx, ebp
call fcn.005ba390
cmp ebp, edi
jne 0x48cbdd
xor ebp, ebp
jmp 0x48cbe0
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 0x64c]
push ebp
push edi
push 0x1109
push eax
call ebx
push eax
call fcn.005ba335
mov ecx, dword [0x6707bc]
mov dword [esp + 0x44], 0x2f
mov dword [esp + 0x40], 0xffff0002
mov dword [esp + 0x30], edi
mov byte [esp + 0x90], 0
mov dword [esp + 0x70], ecx
mov ecx, 0x6757a0
mov dword [esp + 0x1d8], edi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0xa0], edi
call fcn.00460cd0
mov esi, dword [0x675b88]
mov dword [esp + 0x20], eax
shr esi, 2
cmp esi, edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x38], edi
jle 0x48d67f
mov edx, dword [0x675b68]
mov eax, dword [esp + 0x20]
push eax
mov ebp, dword [edx + edi*4]
push ebp
mov dword [esp + 0x1c], ebp
call fcn.00501940
add esp, 8
test eax, eax
je 0x48d5ed
mov ecx, dword [0x675b80]
mov esi, dword [ecx + edi*4]
push esi
call fcn.004ff6a0
add esp, 4
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], vtable.CBitmap.0
mov byte [esp + 0x1d8], 1
call fcn.005d8819
mov eax, dword [eax + 0xc]
push str.LIB_BITMAP
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x88]
call fcn.005c54af
lea edx, [esp + 0x84]
test edx, edx
je 0x48cd18
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x48cd18
lea eax, [esp + 0x84]
push 0xffffff
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1788]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov dword [esp + 0x7c], eax
jmp 0x48cd20
mov dword [esp + 0x7c], 0xffffffff
call fcn.004ff6b0
lea edx, [esp + 0xcc]
push 0x104
push edx
push esi
mov byte [esp + 0xd8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor eax, eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov eax, edi
and eax, 0xffff
mov dword [esp + 0x9c], eax
shl eax, 0x10
mov dword [esp + 0x78], eax
or eax, 0xffff
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x24]
push eax
call fcn.005bc5aa
lea ecx, [esp + 0xcc]
push ecx
mov ecx, 0x6756e0
call fcn.00485280
push eax
lea ecx, [esp + 0x74]
call fcn.005bc7fd
push ebp
call fcn.004ffac0
add esp, 4
test eax, eax
jne 0x48cdb1
push 0x668c6c
lea ecx, [esp + 0x74]
call fcn.005bc7fd
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + 0x64c]
push eax
push 0
push 0x1100
push edx
mov dword [esp + 0x5c], 0
call ebx
mov esi, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
mov dword [esp + 0x30], esi
jne 0x48ce18
mov eax, dword [0x6761d4]
test eax, eax
jle 0x48ce18
mov eax, dword [0x675b54]
mov ecx, dword [0x6761d0]
mov eax, dword [eax + edi*4]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.0052d867
add esp, 8
test eax, eax
jne 0x48ce18
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov eax, dword [ebp + 0x5c]
test eax, eax
jle 0x48d0b2
mov ecx, dword [ebp + 0x64]
test ecx, ecx
jle 0x48d0b2
lea ecx, [eax*4]
push ecx
call fcn.005bd3d9
mov edx, dword [ebp + 0x5c]
mov edi, eax
shl edx, 2
push edx
push edi
mov dword [esp + 0x30], edi
call fcn.004927e0
mov eax, dword [ebp + 0x68]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x64]
test eax, eax
mov dword [esp + 0x34], 0
jle 0x48d059
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xe], 0xc
jne 0x48d034
mov edx, ecx
cmp word [edx + 0xc], 0xffff
je 0x48d034
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.005019e0
add esp, 0xc
test eax, eax
je 0x48d034
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0xc]
dec eax
mov dword [esp + 0x18], eax
js 0x48ceb9
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x5c]
jl 0x48cebf
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [edi + eax*4], 0
jne 0x48cf09
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [eax + 0x5c]
mov esi, dword [eax + 0x60]
test ecx, ecx
jle 0x48cf09
push esi
call fcn.00492700
add esp, 4
cmp eax, 1
je 0x48cf05
cmp ebp, dword [esp + 0x18]
je 0x48cf2a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
mov eax, dword [edx + 0x5c]
not ecx
dec ecx
inc ebp
cmp ebp, eax
lea esi, [esi + ecx + 1]
jl 0x48ced5
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx + 0x18]
test ax, ax
jle 0x48cfb9
movsx edx, ax
mov eax, dword [esp + 0x7c]
lea eax, [edx + eax - 1]
jmp 0x48cfbe
push 4
lea eax, [esp + 0x90]
push esi
push eax
call fcn.0052fab3
lea ecx, [esp + 0x98]
mov byte [esp + 0x9c], 0
push ecx
call fcn.0052eec9
add esp, 0x10
test eax, eax
jle 0x48cf68
mov edx, dword [esp + 0x7c]
lea eax, [eax + edx - 1]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
jmp 0x48cf78
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
or eax, 0xfffe
lea edx, [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
push edx
mov ecx, dword [eax + 0x64c]
push 0
add esi, 4
push 0x1100
push ecx
mov dword [esp + 0x64], esi
call ebx
mov edi, dword [esp + 0x24]
mov dword [edi + ebp*4], eax
jmp 0x48cf09
mov eax, 2
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x9c]
mov edx, esi
mov dword [esp + 0x5c], eax
and edx, 0xffff
mov dword [esp + 0x60], eax
shl edx, 0x10
or edx, ebp
mov dword [esp + 0x68], edx
mov eax, dword [ecx]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [edi + ecx*4]
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x48cfff
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push 0
mov edx, dword [ecx + 0x64c]
push 0x1100
push edx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jne 0x48d034
cmp dword [0x6753ac], esi
jne 0x48d034
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add esi, 0x24
mov ecx, dword [edx + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], eax
jl 0x48ce6b
mov ebp, edx
mov eax, dword [0x6756c8]
test eax, eax
je 0x48d0a1
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x48d0a1
mov esi, edi
mov eax, dword [esi]
test eax, eax
je 0x48d08e
push eax
mov eax, dword [esp + 0x14]
push 0
push 0x1113
mov ecx, dword [eax + 0x64c]
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x5c]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x48d073
push edi
call fcn.005bd402
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
add esp, 4
mov eax, dword [ebp + 0x54]
test eax, eax
jle 0x48d49f
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
mov eax, 5
or edx, 0xfffc
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x68], edx
mov edx, dword [ecx + 0x64c]
push eax
push 0
push 0x1100
push edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x64], 0x668c60
mov dword [esp + 0x5c], 0
call ebx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
cmp ecx, edi
jne 0x48d11e
cmp dword [0x6753b0], 1
jne 0x48d11e
mov dword [esp + 0x74], eax
mov ecx, dword [ebp + 0x54]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x34], eax
jle 0x48d47b
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, edi
add ebp, dword [esi + 0x58]
test byte [ebp + 0x14], 3
jne 0x48d458
mov eax, dword [esp + 0x20]
push eax
push ebp
push esi
call fcn.00501980
add esp, 0xc
test eax, eax
je 0x48d458
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x34]
and eax, 0x400000
mov ecx, 0xfffb
neg eax
sbb eax, eax
sub ecx, edx
mov edx, dword [esp + 0x78]
and eax, 3
and ecx, 0xffff
add eax, 3
or ecx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ecx
mov edx, dword [esi + 0x58]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + edx]
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
push edx
mov ecx, dword [eax + 0x64c]
push 0
push 0x1100
push ecx
call ebx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
test eax, eax
jle 0x48d2ae
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x68]
mov edx, dword [eax + edx + 0x10]
mov eax, dword [edx + edi*4]
lea eax, [eax + eax*8]
lea esi, [ecx + eax*4]
mov al, byte [ecx + eax*4 + 0xe]
test al, 0xc
jne 0x48d2a2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push edx
push esi
push eax
call fcn.005019e0
add esp, 0xc
test eax, eax
je 0x48d2a2
mov ax, word [esi + 0x18]
test ax, ax
jle 0x48d22a
mov edx, dword [esp + 0x7c]
movsx ecx, ax
lea eax, [ecx + edx - 1]
jmp 0x48d22f
mov eax, 2
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x58]
mov eax, dword [edx + ecx + 0x10]
xor ecx, ecx
mov cx, word [eax + edi*4]
mov eax, dword [esp + 0x9c]
shl ecx, 0x10
or ecx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
push eax
push 0
mov edx, dword [ecx + 0x64c]
push 0x1100
push edx
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jne 0x48d2a2
cmp dword [0x6753ac], edi
jne 0x48d2a2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0xa0], edx
mov eax, dword [ebp + 0xc]
inc edi
cmp edi, eax
jl 0x48d1d2
mov eax, 8
xor esi, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
test eax, eax
jle 0x48d32e
test byte [edi + 0xe], 0x10
jne 0x48d323
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call fcn.005019e0
add esp, 0xc
test eax, eax
je 0x48d323
test byte [ebp + 0x14], 0x40
je 0x48d2ef
cmp esi, 8
jl 0x48d323
mov edx, esi
lea ecx, [esp + 0x3c]
and edx, 0xffff
push ecx
shl edx, 0x10
or edx, 0x8ad0
push 0
mov dword [esp + 0x70], edx
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
push 0x1100
mov eax, dword [edx + 0x64c]
push eax
call ebx
mov eax, dword [ebp + 0x24]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x48d2c7
mov eax, dword [ebp + 0x14]
and eax, 0x400000
neg eax
sbb eax, eax
xor esi, esi
and al, 0xfe
add eax, 9
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x34]
test eax, eax
jle 0x48d39b
add edi, 8
test byte [edi + 0xc], 2
jne 0x48d390
mov ecx, esi
lea eax, [esp + 0x3c]
and ecx, 0xffff
push eax
shl ecx, 0x10
or ecx, 0x8acf
push 0
mov dword [esp + 0x70], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
push 0x1100
mov edx, dword [ecx + 0x64c]
push edx
call ebx
mov eax, dword [ebp + 0x30]
inc esi
add edi, 0x1c
cmp esi, eax
jl 0x48d356
mov ecx, 4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x48d3bf
test dword [esi + 8], 0x80000000
je 0x48d3bf
mov eax, 1
jmp 0x48d3c1
xor eax, eax
mov edx, dword [ebp + 0x1c]
xor edi, edi
test edx, edx
jle 0x48d436
neg eax
sbb eax, eax
and eax, ecx
add eax, 0x14
mov dword [esp + 0x1c], eax
test byte [esi + 8], 1
jne 0x48d428
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push esi
push ecx
call fcn.005019b0
add esp, 0xc
test eax, eax
je 0x48d428
mov edx, edi
lea ecx, [esp + 0x3c]
and edx, 0xffff
push ecx
shl edx, 0x10
or edx, 0x8ace
push 0
mov dword [esp + 0x70], edx
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
push 0x1100
mov eax, dword [edx + 0x64c]
push eax
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x1c]
add esi, edx
inc edi
cmp edi, eax
jl 0x48d3d7
mov eax, dword [0x6756c8]
test eax, eax
je 0x48d458
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push 0
mov eax, dword [edx + 0x64c]
push 0x1113
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
inc eax
mov edx, dword [ecx + 0x54]
add esi, 0x38
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
jl 0x48d133
mov eax, dword [0x6756c8]
test eax, eax
je 0x48d49f
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0x64c]
push 0x1113
push eax
call ebx
jmp 0x48d4a3
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x84]
test eax, eax
jle 0x48d59d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
mov eax, 6
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x64c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
push eax
push 0
or edx, 0xfffd
push 0x1100
push ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x64], 0x661070
mov dword [esp + 0x5c], 0
call ebx
mov edx, dword [esp + 0x28]
mov ecx, 7
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov edi, dword [esi + 0x88]
cmp edx, ecx
jne 0x48d52d
cmp dword [0x6753b0], 2
jne 0x48d52d
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [eax + 0x84]
test ecx, ecx
jle 0x48d57f
mov edx, dword [esp + 0x78]
mov ecx, 0xc568
sub ecx, esi
lea eax, [esp + 0x3c]
and ecx, 0xffff
push eax
or ecx, edx
push 0
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 0x64c]
mov edx, dword [edi]
push 0x1100
push ecx
mov dword [esp + 0x64], edx
call ebx
mov edx, dword [esp + 0x14]
add edi, 0x20
inc esi
cmp esi, dword [edx + 0x84]
jl 0x48d53d
mov eax, dword [0x6756c8]
test eax, eax
je 0x48d5bb
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x64c]
push eax
push 0
push 0x1113
push ecx
call ebx
mov eax, dword [0x6756c8]
test eax, eax
je 0x48d5bb
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x64c]
push edx
push 0
push 0x1113
push eax
call ebx
mov dword [esp + 0x84], vtable.CGdiObject.0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1d8], 2
call fcn.005c5506
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x1d8], 0
mov ebp, dword [esp + 0x10]
inc edi
cmp edi, esi
mov dword [esp + 0x38], edi
jl 0x48cc64
cmp dword [esp + 0x28], 0xffffffff
je 0x48d666
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48d666
mov ecx, dword [ebp + 0x64c]
mov esi, eax
push esi
push 2
push 0x1102
push ecx
call ebx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x48d655
mov edx, dword [ebp + 0x64c]
push eax
push 2
push 0x1102
push edx
call ebx
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x48d655
push eax
mov eax, dword [ebp + 0x64c]
push 2
push 0x1102
push eax
call ebx
mov ecx, dword [ebp + 0x64c]
push esi
push 9
push 0x110b
push ecx
jmp 0x48d67d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48d67f
mov edx, dword [ebp + 0x64c]
push eax
push 2
push 0x1102
push edx
call ebx
mov eax, dword [0x6756c8]
xor ebp, ebp
cmp eax, ebp
je 0x48d6a2
mov eax, dword [esp + 0x10]
push 0xffff0000
push ebp
push 0x1113
mov ecx, dword [eax + 0x64c]
push ecx
call ebx
push ebp
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], vtable.CBitmap.0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1d8], 3
call fcn.004918b0
mov esi, 0x5f7a80
mov dword [esp + 0xa4], esi
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1d8], 4
call fcn.004918b0
mov dword [esp + 0xb8], esi
mov esi, dword [0x675b88]
mov byte [esp + 0x1d8], 5
shr esi, 2
cmp esi, ebp
mov dword [esp + 0x80], esi
jle 0x48d85d
mov edx, dword [0x675b68]
mov eax, dword [esp + 0x20]
push eax
mov ebx, dword [edx + ebp*4]
push ebx
call fcn.00501940
add esp, 8
test eax, eax
je 0x48d854
mov ecx, dword [0x675b80]
mov edx, dword [ecx + ebp*4]
push edx
call fcn.004ff6a0
mov eax, dword [ebx + 0x54]
xor edi, edi
add esp, 4
cmp eax, edi
jle 0x48d848
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x58]
add esi, edx
mov eax, dword [esi + 0x14]
test al, 0x13
jne 0x48d831
test al, 0x40
je 0x48d831
mov eax, dword [esp + 0x20]
push eax
push esi
push ebx
call fcn.00501980
add esp, 0xc
test eax, eax
je 0x48d831
test dword [esi + 0x14], 0x200000
je 0x48d7c9
push 0
push edi
push 5
call dword [ebx + 0x78]
test eax, eax
je 0x48d831
push eax
lea ecx, [esp + 0xa8]
call fcn.00491be0
mov ecx, edi
mov edx, ebp
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
push ecx
jmp 0x48d825
mov esi, dword [esi + 0x18]
test esi, esi
je 0x48d831
call fcn.005d8819
mov eax, dword [eax + 0xc]
and esi, 0xffff
push esi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x98]
call fcn.005c54af
test eax, eax
je 0x48d831
lea ecx, [esp + 0x94]
call fcn.005c54dc
push eax
lea ecx, [esp + 0xa8]
call fcn.00491be0
mov eax, edi
mov ecx, ebp
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.00491be0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x54]
inc edi
add ecx, 0x38
cmp edi, eax
mov dword [esp + 0x2c], ecx
jl 0x48d758
call fcn.004ff6b0
mov esi, dword [esp + 0x80]
inc ebp
cmp ebp, esi
jl 0x48d716
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xb8]
lea eax, [esp + 0xa4]
push edx
push eax
add ecx, 0x10b8
call fcn.00514ad0
mov esi, 0x5f7940
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1d8], 4
mov dword [esp + 0xb8], esi
call fcn.00491ab0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1d8], 3
mov dword [esp + 0xa4], esi
call fcn.00491ab0
mov dword [esp + 0x94], vtable.CGdiObject.0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1d8], 6
call fcn.005c5506
lea ecx, [esp + 0x70]
mov dword [esp + 0x1d8], 0xffffffff
call fcn.005bc421
mov ecx, dword [esp + 0x1d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1cc
ret