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

Disassembly:
push 0xffffffffffffffff
push 0x55047e
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push ebp
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x74]
xor ebx, ebx
sub eax, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
je 0x467a5d
sub eax, 1
je 0x467965
sub eax, 2
jne 0x467aa5
lea ecx, [esp + 0x64]
call fcn.004e9d36
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], vtable.CBitmap.0
mov esi, dword [esp + 0xec]
cmp esi, ebx
mov byte [esp + 0xe4], 1
jne 0x4676c5
xor eax, eax
jmp 0x4676c8
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x68]
call fcn.004ea204
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x48]
call fcn.004ea4cb
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.004ea550
mov ecx, dword [esp + 0x20]
mov ebp, eax
mov eax, dword [edi + 0xd0]
add eax, 0xffffffff
test eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x60], ebp
jle 0x4678f9
lea esi, [edi + 0xd4]
jmp 0x467740
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
mov ebp, dword [edi + 0x48]
mov dword [esp + 0x4c], eax
movzx eax, byte [esi + 2]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x28]
mov edx, ecx
sub edx, ebx
imul eax, edx
mov dword [esp + 0x34], edx
xor edx, edx
div ebp
mov edx, dword [edi + 0xd0]
mov ebp, dword [esp + 0x28]
add edx, 0xfffffffe
add eax, ebp
cmp dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
jne 0x467796
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov eax, edx
cmp ebp, eax
jge 0x4678b3
movzx eax, byte [esi + 4]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 5]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
movzx eax, byte [esi + 6]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
imul eax, edx
imul eax, ebp
sub ecx, ebx
imul ecx, dword [esi + 0x28]
xor edx, edx
div ecx
mov edx, dword [edi + 0x44]
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x58]
imul eax, edx
imul eax, ebp
xor edx, edx
div ecx
mov edx, dword [edi + 0x48]
add ebx, dword [esp + 0x4c]
add eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
imul eax, edx
imul eax, ebp
xor edx, edx
div ecx
xor ecx, ecx
movzx edx, bl
add eax, dword [esp + 0x3c]
mov ch, al
mov eax, dword [edi + 0x1c]
mov cl, byte [esp + 0x50]
shl ecx, 8
or ecx, edx
test eax, eax
je 0x467886
mov byte [esp + 0x26], cl
mov byte [esp + 0x25], ch
shr ecx, 0x10
test eax, eax
mov byte [esp + 0x24], cl
mov byte [esp + 0x27], 0xff
jne 0x46785b
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
jmp 0x467876
call fcn.004491b0
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x40]
movzx ecx, ah
mov ch, al
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
push 1
push ecx
push ebp
push 0
lea ecx, [esp + 0x78]
call fcn.004f754d
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x4677c2
mov eax, dword [edi + 0x44]
mov ebp, dword [edi + 0x48]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x28]
mov edx, ecx
sub edx, ebx
imul eax, edx
xor edx, edx
div ebp
mov edx, dword [edi + 0xd0]
add edx, 0xffffffff
add esi, 4
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, edx
mov dword [esp + 0x30], eax
jl 0x467740
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edx
sub ecx, ebx
push ecx
push eax
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x467928
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x68]
push ebp
push ecx
call fcn.004ea550
mov byte [esp + 0xe4], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], vtable.CBitmap.0
call fcn.00424150
lea ecx, [esp + 0x64]
mov dword [esp + 0xe4], 0xffffffff
call fcn.004ea27e
jmp 0x467aa5
cmp dword [edi + 0xb0], ebx
je 0x467aa5
lea edx, [esp + 0x84]
lea esi, [edi + 0x7c]
push edx
call fcn.0043aee0
mov dword [esp + 0xe4], 2
cmp dword [edi + 0x1c], ebx
je 0x4679a7
call fcn.004491b0
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call edx
cmp word [edi + 0x96], 0x20
jne 0x467a06
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x94]
call fcn.00437900
add esp, 0x10
lea esi, [esp + 0x84]
mov dword [esp + 0x84], vtable.FCObjImage.0
call fcn.00432400
jmp 0x467aa5
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x467a14
mov ebx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push ebx
lea eax, [esp + 0x98]
call fcn.0043a980
add esp, 0x14
lea esi, [esp + 0x84]
mov dword [esp + 0x84], vtable.FCObjImage.0
call fcn.00432400
jmp 0x467aa5
mov eax, dword [edi + 0x78]
lea ecx, [edi + 0x18]
call fcn.0044ea70
push eax
lea ecx, [esp + 0x78]
call fcn.004ea686
cmp eax, ebx
jne 0x467a7a
xor eax, eax
jmp 0x467a7d
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 4]
push eax
lea eax, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], vtable.CBrush.0
call fcn.00424150
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 4