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

Disassembly:
push 0xffffffffffffffff
push 0x566ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x5b5400]
xor ebx, ebx
cmp eax, ebx
je 0x4e8621
push eax
call fcn.004ff267
add esp, 4
mov dword [0x5b5400], ebx
mov ecx, 0x5edf20
mov dword [0x5b5408], ebx
mov dword [0x5b5404], ebx
call fcn.005138aa
mov ecx, 0x5edf28
call fcn.005138aa
mov ecx, 0x5edf30
call fcn.005138aa
mov ecx, 0x5edf38
call fcn.005138aa
lea eax, [esp + 0x18]
push eax
push 0x7d0
mov dword [0x5edef0], ebx
call fcn.004e6d40
lea ecx, [esp + 0x24]
push ecx
push 0x12e
mov ebp, eax
call fcn.004e6d40
add esp, 0x10
lea edx, [eax + ebp]
xor esi, esi
cmp ebp, ebx
mov dword [esp + 0x14], eax
mov dword [0x5edef0], edx
jle 0x4e86d9
mov eax, dword [esp + 0x18]
mov edi, dword [0x5b5404]
cmp edi, ebx
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x54], ecx
jl 0x4e8798
push 0xffffffffffffffff
lea edx, [edi + 1]
push edx
mov ecx, 0x5b53fc
call fcn.004e6be0
mov eax, dword [0x5b5400]
mov ecx, dword [esp + 0x54]
mov dword [eax + edi*8], ecx
mov edx, dword [0x5b5400]
mov dword [edx + edi*8 + 4], esi
inc esi
cmp esi, ebp
jl 0x4e8691
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
jle 0x4e8729
nop
mov eax, dword [esp + 0x1c]
mov esi, dword [0x5b5404]
cmp esi, ebx
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x54], ecx
jl 0x4e8798
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, 0x5b53fc
call fcn.004e6be0
mov eax, dword [0x5b5400]
mov ecx, dword [esp + 0x54]
mov dword [eax + esi*8], ecx
mov edx, dword [0x5b5400]
lea eax, [edi + ebp]
inc edi
cmp edi, dword [esp + 0x14]
mov dword [edx + esi*8 + 4], eax
jl 0x4e86e0
mov eax, dword [esp + 0x18]
push eax
call fcn.004ff267
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ff267
add esp, 8
mov ecx, 0x5b3fc8
call fcn.0045bcf0
mov eax, dword [0x5b3fcc]
cmp eax, ebx
je 0x4e8762
push eax
call fcn.004ff267
add esp, 4
mov dword [0x5b3fcc], ebx
mov edi, dword [0x5b5404]
xor esi, esi
cmp edi, ebx
mov dword [0x5b3fd4], ebx
mov dword [0x5b3fd0], ebx
jle 0x4e87ca
lea ebx, [ebx]
push 0xc
call fcn.004ff238
add esp, 4
cmp eax, ebx
je 0x4e879d
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4e879f
call fcn.005078a4
xor eax, eax
cmp esi, ebx
jl 0x4e8798
cmp esi, dword [0x5b5404]
jge 0x4e8798
mov edx, dword [0x5b5400]
mov ecx, dword [edx + esi*8]
mov dword [eax + 4], ecx
push eax
mov ecx, 0x5b3fc8
mov dword [eax + 8], esi
call fcn.00461150
inc esi
cmp esi, edi
jl 0x4e8780
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 [0x5ece68], ebx
je 0x4e8818
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.0044fd70
push 1
push 0x12e
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0044fd70
mov edx, dword [0x5edef0]
mov eax, dword [esp + 0x48]
add esp, 0x20
push 1
push edx
push 0x21
push eax
push eax
mov ecx, 0x5edf20
call fcn.00513a1c
mov eax, dword [esp + 0x50]
mov ecx, dword [0x5edf24]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e72f0
mov eax, dword [esp + 0x48]
mov ecx, dword [0x5edf24]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e72f0
mov eax, dword [0x5eceb4]
mov ecx, dword [0x5edf24]
push eax
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7190
mov eax, dword [esp + 0x28]
mov dword [0x5edefc], 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.0044fd70
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, 0x5edf28
mov dword [esp + 0x3c], eax
call fcn.00513a1c
mov edx, dword [esp + 0x40]
mov eax, dword [0x5edf2c]
push 0xffffffffffffffff
push edx
push eax
call fcn.0050ad42
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.004e72f0
mov edx, dword [0x5eceb4]
mov eax, dword [0x5edf2c]
push edx
push eax
call fcn.0050ad42
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.004e7190
mov edx, dword [esp + 0x28]
mov dword [0x5edef8], 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.0044fd70
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, 0x5edf30
mov dword [esp + 0x3c], eax
call fcn.00513a1c
mov eax, dword [esp + 0x38]
mov ecx, dword [0x5edf34]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e72f0
mov eax, dword [0x5eceb4]
mov ecx, dword [0x5edf34]
push eax
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7190
mov eax, dword [esp + 0x28]
mov dword [0x5edef4], 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.0044fd70
mov ecx, dword [eax]
add esp, 0x10
push 1
push 1
mov dword [0x5edf40], ecx
mov eax, dword [eax + 4]
push 0x21
push eax
push ecx
mov ecx, 0x5edf38
mov dword [0x5edf44], eax
call fcn.00513a1c
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
mov ecx, dword [0x5edf3c]
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e72f0
mov eax, dword [0x5eceb4]
mov ecx, dword [0x5edf3c]
push eax
push ecx
call fcn.0050ad42
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004e7190
cmp dword [0x5ece68], ebx
je 0x4e8a61
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.00408be0
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x34], esi
call fcn.00408be0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x3c], esi
call fcn.00408be0
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
mov dword [esp + 0x44], esi
call fcn.00408be0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x4c], esi
call fcn.00408be0
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret