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

Disassembly:
sub esp, 0xcc
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x6012f4], ebp
mov dword [0x6012f8], ebp
call fcn.004d7883
push ebp
mov dword [0x6012f4], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea eax, [esp + 0x74]
push 0x2c
push ebp
push eax
mov dword [esp + 0x3c], ebx
call fcn.005055e0
add esp, 0xc
mov dword [esp + 0x74], 0x28
xor eax, eax
mov dword [esp + 0x84], ebp
inc eax
mov dword [esp + 0x18], ebp
mov word [esp + 0x80], ax
mov ecx, 0x989680
push 0x20
pop eax
mov word [esp + 0x82], ax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00448cbd
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xa0]
add ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push eax
mov dword [esp + 0xa4], 0x56cc08
mov dword [esp + 0xa8], 0x26bb6
call fcn.004e6e3a
pop ecx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x2c]
mov ecx, eax
call fcn.00448cbd
push 2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.004c810e
mov ax, word [esp + 0x10]
xor ecx, ecx
cmp cx, ax
jge 0x4d6cce
movzx eax, ax
mov dword [esp + 0x2c], eax
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.004c810e
movsx esi, word [esp + 0x28]
lea ecx, [esp + 0x3c]
push esi
push dword [esp + 0x20]
call fcn.00444372
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx]
push eax
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
call fcn.004c8343
push 2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.004c810e
push 2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.004c810e
movsx eax, word [esp + 0x10]
movsx ebp, word [esp + 0x14]
mov edi, eax
imul edi, ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], eax
test edi, edi
jle 0x4d6c27
mov esi, dword [esp + 0x1c]
mov ebx, edi
inc esi
mov ebp, 0xff
movzx ecx, byte [esi + 2]
xor edx, edx
movzx eax, byte [esi - 1]
imul eax, ecx
div ebp
xor edx, edx
mov byte [esi - 1], al
movzx eax, byte [esi]
imul eax, ecx
div ebp
xor edx, edx
mov byte [esi], al
lea esi, [esi + 4]
movzx eax, byte [esi - 3]
imul eax, ecx
div ebp
mov byte [esi - 3], al
sub ebx, 1
jne 0x4d6bea
movsx ebp, word [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004d88bc
push 0
lea eax, [esp + 0x78]
push eax
push esi
push 4
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x28], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004d8794
mov eax, dword [esp + 0x64]
movsx ecx, word [esp + 0x10]
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], ecx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004d88bc
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004d866c
mov eax, dword [esp + 0x6c]
push dword [eax + 0x28]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + edi*4]
push eax
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call fcn.004c8343
lea ecx, [esp + 0x3c]
call fcn.0043c446
sub dword [esp + 0x2c], 1
jne 0x4d6b69
push 0x30
pop esi
mov edi, str.icon
lea ecx, [esp + 0x3c]
push edi
call fcn.0043a56f
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004d8700
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
call fcn.0043c446
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push esi
push ebx
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.0043a56f
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004d8828
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x28], esi
lea ecx, [esp + 0x3c]
call fcn.0043c446
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push ebp
call ebx
push 0
push 0x30
push 0x30
push 1
push 0x7b
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push 3
mov esi, eax
xor eax, eax
push eax
push eax
push 0x30
push 0x30
push esi
push eax
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawIconEx]
push edi
push ebp
call ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [esp + 0x30]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x1c]
call fcn.0043c24c
pop edi
pop esi
pop ebp
mov eax, 0x6012f4
pop ebx
add esp, 0xcc
ret