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

Disassembly:
push 0xffffffffffffffff
push 0x4683f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480424]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
xor ebx, ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00434200
add esp, 0x10
mov byte [esp + 0x1b], al
test al, al
je 0x4348b2
mov esi, dword [esp + 0x20]
mov dword [esp + 0x38], esi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x43468a
mov dword [esi + 8], eax
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4346ab
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
xor edx, edx
div dword [esp + 0x60]
push 1
push ebx
push 0x20
push edi
mov ebp, eax
push ebp
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edx, dword [esp + 0x5c]
push 0x10
mov dword [edx], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x434705
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push ebx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov edx, dword [esp + 0x24]
mov ecx, esi
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esp + 0x1c], ecx
jmp 0x43470b
mov dword [esp + 0x1c], ebx
mov ecx, ebx
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x34], ebx
jle 0x434889
mov dword [esp + 0x24], ebx
jmp 0x434727
mov edi, dword [esp + 0x2c]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x43475d
lea eax, [esp + 0x28]
push eax
push ebx
push 0x26200a
push ebx
push edi
push ebp
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x40], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
jmp 0x43475f
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], ebx
test esi, esi
je 0x434781
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43479b
mov eax, dword [eax + 4]
jmp 0x43479d
xor eax, eax
push 2
push edi
push ebp
push ecx
push edx
push 0
push 0
push eax
push ebx
call sub.gdiplus.dll_GdipDrawImagePointRectI
test eax, eax
je 0x4347b6
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x24]
push 0x26200a
push edi
push ebp
push 0
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00433c80
mov edi, eax
test edi, edi
je 0x4347d8
mov eax, dword [edi + 4]
jmp 0x4347da
xor eax, eax
mov edx, dword [esp + 0x2c]
push edx
push ebp
push 0
push 0
push eax
push ebx
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x4347f3
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x43480f
mov dword [esi + 8], eax
jmp 0x434811
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0x1b], al
test al, al
je 0x4348c6
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [edx]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x54], 3
test edi, edi
je 0x434857
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
mov byte [esp + 0x58], 1
call eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x24], ebp
inc eax
xor ebx, ebx
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x34], eax
jl 0x434723
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x54], 0
cmp ecx, ebx
je 0x43489a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
mov dword [esp + 0x58], 0xffffffff
call eax
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov byte [esp + 0x54], 3
test edi, edi
je 0x4348d9
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
mov byte [esp + 0x58], 1
call eax
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x54], 0
test ecx, ecx
je 0x434903
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
mov dword [esp + 0x58], 0xffffffff
call eax
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret