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

Disassembly:
push 0xffffffffffffffff
push 0x566ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x5b5518]
xor ebx, ebx
cmp eax, ebx
je 0x4e89c1
push eax
call fcn.004ff96a
add esp, 4
mov dword [0x5b5518], ebx
mov ecx, 0x5edff8
mov dword [0x5b5520], ebx
mov dword [0x5b551c], ebx
call fcn.00513f31
mov ecx, 0x5ee000
call fcn.00513f31
mov ecx, 0x5ee008
call fcn.00513f31
mov ecx, 0x5ee010
call fcn.00513f31
lea eax, [esp + 0x18]
push eax
push 0x7d0
mov dword [0x5edfc8], ebx
call fcn.004e70e0
lea ecx, [esp + 0x24]
push ecx
push 0x12e
mov ebp, eax
call fcn.004e70e0
add esp, 0x10
lea edx, [eax + ebp]
xor esi, esi
cmp ebp, ebx
mov dword [esp + 0x14], eax
mov dword [0x5edfc8], edx
jle 0x4e8a79
mov eax, dword [esp + 0x18]
mov edi, dword [0x5b551c]
cmp edi, ebx
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x54], ecx
jl 0x4e8b38
push 0xffffffffffffffff
lea edx, [edi + 1]
push edx
mov ecx, 0x5b5514
call fcn.004e6f80
mov eax, dword [0x5b5518]
mov ecx, dword [esp + 0x54]
mov dword [eax + edi*8], ecx
mov edx, dword [0x5b5518]
mov dword [edx + edi*8 + 4], esi
inc esi
cmp esi, ebp
jl 0x4e8a31
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
jle 0x4e8ac9
nop
mov eax, dword [esp + 0x1c]
mov esi, dword [0x5b551c]
cmp esi, ebx
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x54], ecx
jl 0x4e8b38
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, 0x5b5514
call fcn.004e6f80
mov eax, dword [0x5b5518]
mov ecx, dword [esp + 0x54]
mov dword [eax + esi*8], ecx
mov edx, dword [0x5b5518]
lea eax, [edi + ebp]
inc edi
cmp edi, dword [esp + 0x14]
mov dword [edx + esi*8 + 4], eax
jl 0x4e8a80
mov eax, dword [esp + 0x18]
push eax
call fcn.004ff96a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ff96a
add esp, 8
mov ecx, 0x5b4054
call fcn.0045a8a0
mov eax, dword [0x5b4058]
cmp eax, ebx
je 0x4e8b02
push eax
call fcn.004ff96a
add esp, 4
mov dword [0x5b4058], ebx
mov edi, dword [0x5b551c]
xor esi, esi
cmp edi, ebx
mov dword [0x5b4060], ebx
mov dword [0x5b405c], ebx
jle 0x4e8b6a
lea ebx, [ebx]
push 0xc
call fcn.004ff930
add esp, 4
cmp eax, ebx
je 0x4e8b3d
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4e8b3f
call fcn.00507f95
xor eax, eax
cmp esi, ebx
jl 0x4e8b38
cmp esi, dword [0x5b551c]
jge 0x4e8b38
mov edx, dword [0x5b5518]
mov ecx, dword [edx + esi*8]
mov dword [eax + 4], ecx
push eax
mov ecx, 0x5b4054
mov dword [eax + 8], esi
call fcn.004600c0
inc esi
cmp esi, edi
jl 0x4e8b20
mov esi, vtable.CBitmap.0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x6c], 1
mov dword [esp + 0x20], ebx
cmp dword [0x5eced8], ebx
je 0x4e8bb8
push ebx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call sub.gdiplus.dll_GdiplusStartup
push 1
push 0x7d0
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0044e590
push 1
push 0x12e
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0044e590
mov edx, dword [0x5edfc8]
mov eax, dword [esp + 0x48]
add esp, 0x20
push 1
push edx
push 0x21
push eax
push eax
mov ecx, 0x5edff8
call fcn.005140a3
mov eax, dword [esp + 0x50]
mov ecx, dword [0x5edffc]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7690
mov eax, dword [esp + 0x48]
mov ecx, dword [0x5edffc]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7690
mov eax, dword [0x5ecf24]
mov ecx, dword [0x5edffc]
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7530
mov eax, dword [esp + 0x28]
mov dword [0x5edfd4], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
push 1
push 0x139
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x7c], 2
call fcn.0044e590
mov ecx, dword [eax]
add esp, 0x10
push 1
push 0xc
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
push 0x21
push eax
push eax
mov ecx, 0x5ee000
mov dword [esp + 0x3c], eax
call fcn.005140a3
mov edx, dword [esp + 0x40]
mov eax, dword [0x5ee004]
push 0xffffffffffffffff
push edx
push eax
call fcn.0050b420
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.004e7690
mov edx, dword [0x5ecf24]
mov eax, dword [0x5ee004]
push edx
push eax
call fcn.0050b420
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.004e7530
mov edx, dword [esp + 0x28]
mov dword [0x5edfd0], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
push 1
push 0x13b
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x7c], 3
call fcn.0044e590
mov edx, dword [eax]
add esp, 0x10
push 1
push 9
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 4]
push 0x21
push eax
push eax
mov ecx, 0x5ee008
mov dword [esp + 0x3c], eax
call fcn.005140a3
mov eax, dword [esp + 0x38]
mov ecx, dword [0x5ee00c]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7690
mov eax, dword [0x5ecf24]
mov ecx, dword [0x5ee00c]
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7530
mov eax, dword [esp + 0x28]
mov dword [0x5edfcc], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
push ebx
push 0xc2
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x7c], 4
call fcn.0044e590
mov ecx, dword [eax]
add esp, 0x10
push 1
push 1
mov dword [0x5ee018], ecx
mov eax, dword [eax + 4]
push 0x21
push eax
push ecx
mov ecx, 0x5ee010
mov dword [0x5ee01c], eax
call fcn.005140a3
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
mov ecx, dword [0x5ee014]
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7690
mov eax, dword [0x5ecf24]
mov ecx, dword [0x5ee014]
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7530
cmp dword [0x5eced8], ebx
je 0x4e8e01
mov eax, dword [esp + 0x20]
push eax
call sub.gdiplus.dll_GdiplusShutdown
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 3
mov dword [esp + 0x2c], esi
call fcn.00408ce0
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x34], esi
call fcn.00408ce0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x3c], esi
call fcn.00408ce0
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov dword [esp + 0x44], esi
call fcn.00408ce0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x4c], esi
call fcn.00408ce0
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret