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

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x11c], 0
mov ecx, dword [esp + 0x1c4]
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0x181fff00
mov dword [esp + 0x138], 0x7fffff80
mov dword [esp + 0x13c], 0xffffffff
mov dword [esp + 0x140], 0x3ff000
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0x3f80
mov dword [esp + 0x154], 0x181fff00
mov dword [esp + 0x158], 0x7ffffe00
mov dword [esp + 0x15c], 0xfffffffc
mov dword [esp + 0x160], 0x3ff003
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0x3ffc0
mov dword [esp + 0x174], 0x183fff00
mov dword [esp + 0x178], 0x7ffffe00
mov dword [esp + 0x17c], 0xfffffff8
mov dword [esp + 0x180], 0x3ff00e
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0x1c0
mov dword [esp + 0x18c], 0x7fc0
mov dword [esp + 0x190], 0x180fff00
mov dword [esp + 0x194], 0x7e3fff00
mov dword [esp + 0x198], 0xfffffe00
mov dword [esp + 0x19c], 0x3fffff0
mov dword [esp + 0x1a0], 0x3ff01c
mov dword [esp + 0x1a4], 0x3c0
mov dword [esp + 0x1a8], 0x3f80
mov dword [esp + 0x1ac], 0x3ff00
mov dword [esp + 0x1b0], 0x183ffc00
mov dword [esp + 0x1b4], 0x7efffc00
mov dword [esp + 0x1b8], 0xfffffe00
mov dword [esp + 0x1bc], 0x3fffff0
mov dword [esp + 0x1c0], 0x3ff01c
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x181fff00
mov dword [esp + 0x98], 0x7fffff80
mov dword [esp + 0x9c], 0x7f
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x3f80
mov dword [esp + 0xb4], 0x181fff00
mov dword [esp + 0xb8], 0x7ffffe00
mov dword [esp + 0xbc], 0x7c
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x3ffc0
mov dword [esp + 0xd4], 0x183fff00
mov dword [esp + 0xd8], 0x7ffffe00
mov dword [esp + 0xdc], 0x78
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0x1c0
mov dword [esp + 0xec], 0x7fc0
mov dword [esp + 0xf0], 0x180fff00
mov dword [esp + 0xf4], 0x7e2aaa00
mov dword [esp + 0xf8], 0x7924800
mov dword [esp + 0xfc], 0x70
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0x3c0
mov edx, dword [ecx + 0x18]
mov esi, dword [ecx + 8]
mov ebp, dword [ecx + 0x14]
mov dword [esp + 0x108], 0x3f80
lea eax, [edx + 1]
mov dword [esp + 0x10c], 0x3ff00
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x10]
mov edi, eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x110], 0x183ffc00
mov dword [esp + 0x114], 0x7eeaa800
mov dword [esp + 0x118], 0x7924800
mov dword [esp + 0x11c], 0x70
mov dword [esp + 0x120], 0
mov dword [esp + 0x70], 0x44000000
mov dword [esp + 0x74], 0x28000000
mov dword [esp + 0x78], 0xfe000000
mov dword [esp + 0x7c], 0x28000000
mov dword [esp + 0x80], 0x44000000
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4e42c1
cmp ebp, 0x20
jg 0x4e42c1
test esi, esi
sete al
lea edi, [edi + eax*2]
dec edi
cmp edi, 0xffffffe0
jl 0x4e4864
cmp edi, dword [ebx + 0xe54]
jg 0x4e4864
mov eax, edx
mov dword [esp + 0x34], 0x64
xor edx, edx
mov ecx, 0x14
div ecx
cmp edx, 5
sbb eax, eax
and eax, edx
xor ecx, ecx
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, eax
mov dword [esp + 0x28], eax
cmp dword [edx - 0x10], 1
lea ebx, [edx - 0x10]
jne 0x4e434f
cmp dword [edx - 8], esi
je 0x4e434f
mov eax, dword [edx]
mov ecx, eax
sub ecx, edi
jns 0x4e431d
mov ecx, edi
sub ecx, eax
mov esi, dword [edx + 4]
mov eax, esi
sub eax, ebp
jns 0x4e432a
mov eax, ebp
sub eax, esi
cmp ecx, 0x32
jae 0x4e4347
cmp eax, 0xc
jae 0x4e4347
mov esi, dword [esp + 0x24]
cmp eax, 0x3e8
jae 0x4e434b
mov ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x4e434f
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add edx, 0x24
sub dword [esp + 0x34], 1
jne 0x4e4303
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x4e4383
mov eax, dword [ecx + 0x14]
cmp eax, ebp
jg 0x4e4375
cmp ebp, 0x18
jae 0x4e4371
inc ebp
jmp 0x4e437a
cmp eax, ebp
jle 0x4e437e
test ebp, ebp
jle 0x4e437e
dec ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x13], 1
xor bh, bh
test ecx, ecx
jne 0x4e43cf
mov ecx, dword [esp + 0x28]
xor esi, esi
nop
cmp dword [ecx - 0x10], 4
jne 0x4e43b0
mov eax, dword [esp + 0x24]
cmp dword [ecx - 8], eax
je 0x4e43b0
mov edx, dword [ecx]
mov eax, edx
sub eax, edi
jns 0x4e43ab
mov eax, edi
sub eax, edx
cmp eax, 0x46
jl 0x4e43bb
inc esi
add ecx, 0x24
cmp esi, 0x64
jb 0x4e4390
jmp 0x4e43d4
cmp ebp, 0x18
jae 0x4e43c5
inc ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], 0
mov bh, 1
cmp ebp, 0x18
jbe 0x4e4406
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x14]
jne 0x4e440a
mov eax, dword [edx + 0xc]
cmp ebp, eax
je 0x4e440a
jge 0x4e43f4
cmp ebp, 0x18
jae 0x4e43f2
inc ebp
mov dword [esp + 0x20], ebp
cmp ebp, eax
jle 0x4e43ff
test ebp, ebp
jle 0x4e43ff
dec ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x13], 1
jmp 0x4e440a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
xor bl, bl
xor esi, esi
cmp dword [ecx - 0x10], 1
jne 0x4e4431
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 0x1c]
je 0x4e4431
mov edx, dword [ecx]
mov eax, edx
sub eax, edi
jns 0x4e442c
mov eax, edi
sub eax, edx
cmp eax, 0x40
jl 0x4e4440
inc esi
add ecx, 0x24
cmp esi, 0x64
jae 0x4e4442
mov edx, dword [esp + 0x14]
jmp 0x4e4412
mov bl, 1
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x40], 0x16
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 0x20
mov dword [esp + 0x50], 0x46
mov dword [esp + 0x54], 0x29
mov dword [esp + 0x58], 0x68
mov dword [esp + 0x5c], 0x20
mov dword [esp + 0x60], 0x8b
mov dword [esp + 0x64], 0x20
mov dword [esp + 0x68], 0xa9
mov dword [esp + 0x6c], 0x20
jne 0x4e44cc
cmp ebp, 0x18
ja 0x4e44cc
test esi, esi
jne 0x4e44cc
test bl, bl
jne 0x4e44cc
mov ecx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + eax*8 + 0x40], ecx
je 0x4e44ee
inc eax
cmp eax, 6
jb 0x4e44c0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4e4589
xor ecx, ecx
xor eax, eax
nop
cmp dword [esp + eax*8 + 0x40], edi
je 0x4e4554
inc eax
cmp eax, 6
jb 0x4e44e0
jmp 0x4e4558
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
imul ecx, edx, 0x9e3779bb
imul eax, edx, 0xc6ef3760
shr ecx, 0x1b
or ecx, eax
mov eax, dword [esp + 0x18]
lea esi, [ecx + ecx*4]
mov ecx, dword [eax + 4]
xor ecx, edx
ror edx, 6
mov eax, ecx
shl eax, 9
xor edx, eax
mov eax, dword [esp + 0x18]
xor edx, ecx
rol ecx, 0xd
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, 0xcccccccd
mul esi
shr edx, 4
lea eax, [edx + edx*4]
shl eax, 2
sub esi, eax
mov esi, dword [esp + 0x1c]
jne 0x4e44cc
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x10]
mov dword [ecx + 0x20], 0x64
jmp 0x4e44d0
mov ecx, dword [esp + eax*8 + 0x44]
cmp ebp, ecx
jge 0x4e4568
inc ebp
mov byte [esp + 0x13], 1
mov dword [esp + 0x20], ebp
jmp 0x4e4570
mov dword [esp + 0x2c], 4
mov ecx, dword [esp + 0x14]
lea eax, [edx - 1]
mov dword [ecx + 0x20], eax
test bl, bl
je 0x4e4589
test eax, eax
jne 0x4e4589
mov dword [ecx + 0x20], 1
test esi, esi
jne 0x4e476d
test bh, bh
jne 0x4e476d
cmp dword [ecx + 0x20], esi
jne 0x4e476d
mov esi, dword [esp + 0x28]
mov edx, 0x64
xor ebx, ebx
mov dword [esp + 0x1c], edx
cmp dword [esi - 0x10], 3
jne 0x4e4653
mov eax, dword [esi - 8]
cmp eax, dword [ecx + 8]
je 0x4e4653
mov eax, dword [esp + 0x24]
mov ecx, 0x3e8
test eax, eax
jne 0x4e45f0
mov edx, dword [esi]
lea eax, [edi + 0x20]
cmp edx, eax
mov eax, dword [esp + 0x24]
jl 0x4e45e8
mov ecx, edx
sub ecx, edi
sub ecx, 0x20
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4e45fa
mov eax, dword [esi]
cmp eax, edi
jg 0x4e45fa
mov ecx, edi
sub ecx, eax
cmp ecx, 0x28
jae 0x4e4602
lea ebx, [esi - 0x10]
cmp ecx, 0x1e
jae 0x4e464f
cmp dword [ebx + 0x18], 5
mov ebp, dword [esp + 0x18]
jbe 0x4e4649
mov eax, dword [ebx + 0x10]
mov ecx, ebp
push 0
push 0xc8
push 0xc8
push 0xff
push dword [ebx + 0x14]
dec eax
push eax
push 5
push 0xa
push 0
lea eax, [esp + 0x94]
push eax
call fcn.004e9fe0
mov edx, dword [esp + 0x1c]
mov dword [ebx], 0
mov ecx, dword [esp + 0x14]
jmp 0x4e4657
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
add esi, 0x24
sub edx, 1
mov dword [esp + 0x1c], edx
jne 0x4e45b1
test ebx, ebx
je 0x4e476d
cmp dword [esp + 0x24], 0
mov ebx, dword [ebp + 0xe5c]
mov ebp, dword [esp + 0x20]
push 0xffffe0e0
lea esi, [ebp + 6]
push esi
jne 0x4e46c4
lea eax, [edi + 0x22]
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x4e469c
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
push 0xffff8282
push esi
mov ebx, dword [eax + 0xe5c]
lea eax, [edi + 0x23]
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x4e46bf
mov dword [ebx + 8], eax
lea ebx, [edi + 0x24]
jmp 0x4e46fd
lea eax, [edi - 3]
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x4e46d7
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
push 0xffff8282
push esi
mov ebx, dword [eax + 0xe5c]
lea eax, [edi - 4]
push eax
push dword [ebx + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x4e46fa
mov dword [ebx + 8], eax
lea ebx, [edi - 5]
mov eax, dword [esp + 0x18]
push 0xffff6464
push esi
push ebx
mov eax, dword [eax + 0xe5c]
mov dword [esp + 0x3c], eax
push dword [eax + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
mov ecx, eax
test ecx, ecx
je 0x4e4727
mov eax, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
push 0xffff0000
mov esi, dword [eax + 0xe5c]
lea eax, [ebp + 5]
push eax
push ebx
push dword [esi + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x4e474a
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
push 0xffff0000
mov esi, dword [eax + 0xe5c]
lea eax, [ebp + 7]
push eax
push ebx
push dword [esi + 4]
call sub.gdiplus.dll_GdipBitmapSetPixel
test eax, eax
je 0x4e476d
mov dword [esi + 8], eax
cmp byte [esp + 0x13], 0
je 0x4e478c
cmp dword [esp + 0x2c], 0
jne 0x4e478c
mov eax, dword [esp + 0x3c]
xor edx, edx
mov ecx, 5
div ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
mov ebp, 0x64
movzx edx, byte [eax + 4]
movzx ebx, byte [eax + 5]
movzx esi, byte [eax + 6]
mov eax, dword [esp + 0x28]
mov eax, dword [eax - 0x10]
cmp eax, 2
je 0x4e47b2
cmp eax, 3
jne 0x4e4809
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, eax
sub ecx, edi
jns 0x4e47c2
mov ecx, edi
sub ecx, eax
cmp ecx, 0x3c
jae 0x4e4809
mov eax, 0x3c
sub eax, ecx
add edx, eax
cmp edx, 0xff
jbe 0x4e47dd
mov edx, 0xff
mov eax, 0x3c
sub eax, ecx
add ebx, eax
cmp ebx, 0xff
jbe 0x4e47f3
mov ebx, 0xff
mov eax, 0x3c
sub eax, ecx
add esi, eax
cmp esi, 0xff
jbe 0x4e4809
mov esi, 0xff
mov eax, dword [esp + 0x28]
add eax, 0x24
mov dword [esp + 0x28], eax
sub ebp, 1
jne 0x4e47a5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
shl ecx, 5
cmp dword [eax + 8], ebp
mov ebp, dword [esp + 0x20]
sete al
movzx eax, al
push eax
push esi
push ebx
push edx
push ebp
push edi
push 8
push 0xa
lea eax, [esp + 0xa4]
add eax, ecx
push eax
lea eax, [esp + 0x148]
add eax, ecx
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004e9fe0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebp
jmp 0x4e486a
mov dword [ecx], 0
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x1b8
ret 4