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

Disassembly:
push 0xffffffffffffffff
push 0x612246
mov eax, dword fs:[0]
push eax
sub esp, 0x954
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x968]
mov dword fs:[0], eax
mov eax, dword [esp + 0x984]
mov ebx, dword [esp + 0x978]
cmp dword [ebx + 0x1c], 0
jne 0x4e4d68
xor eax, eax
jmp 0x4e515e
test eax, eax
je 0x4e4d77
mov ebp, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x40], ebp
jmp 0x4e4d83
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x40], eax
mov ebp, eax
test edx, edx
je 0x4e4d8e
mov ecx, dword [edx]
mov edx, dword [edx + 4]
jmp 0x4e4d92
xor ecx, ecx
xor edx, edx
test ecx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
jge 0x4e4da4
xor ecx, ecx
mov dword [esp + 0x24], ecx
test edx, edx
jge 0x4e4dae
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 0x24]
lea edi, [ecx + ebp]
cmp edi, eax
jl 0x4e4dc0
sub eax, ecx
mov dword [esp + 0x40], eax
mov ebp, eax
mov eax, dword [ebx + 0x28]
lea ecx, [esi + edx]
cmp ecx, eax
jl 0x4e4dce
sub eax, edx
mov esi, eax
lea edx, [esp + 0x4e4]
push edx
call fcn.004e31f0
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x974], 0
call fcn.004e31f0
push 0
push 0x20
push 1
push esi
push ebp
lea ecx, [esp + 0x4f8]
push ecx
mov byte [esp + 0x988], 1
call fcn.004e3c50
push 0
push 0x20
push 1
push esi
push ebp
lea edx, [esp + 0x78]
push edx
call fcn.004e3c50
push 1
xor eax, eax
lea ecx, [esp + 0x4e8]
call fcn.004e45e0
xor edx, edx
push edx
xor ecx, ecx
push ecx
push eax
xor eax, eax
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.004e4270
lea edi, [esp + 0x4e4]
call fcn.004e46b0
push 1
xor eax, eax
lea ecx, [esp + 0x68]
call fcn.004e45e0
mov edx, dword [esp + 0x98c]
test edx, edx
jge 0x4e4e6b
neg edx
jmp 0x4e4e6d
xor edx, edx
mov ecx, dword [esp + 0x988]
test ecx, ecx
jge 0x4e4e7c
neg ecx
jmp 0x4e4e7e
xor ecx, ecx
push edx
push ecx
mov ecx, dword [esp + 0x984]
push eax
xor eax, eax
lea edx, [esp + 0x994]
call fcn.004e4270
lea edi, [esp + 0x64]
call fcn.004e46b0
movzx edx, byte [ebx + 0x12]
xor eax, eax
mov ah, byte [ebx + 0x10]
mov ecx, dword [esp + 0x92c]
mov edi, dword [esp + 0x4ac]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], edi
mov al, byte [ebx + 0x11]
shl eax, 8
or eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x97c]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], edx
movzx edx, ah
mov dh, al
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x980]
cmp eax, 0xff
mov dword [esp + 0x50], edx
jl 0x4e4f76
test esi, esi
jle 0x4e50f5
mov edx, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
nop
test ebp, ebp
mov eax, ecx
jle 0x4e4f57
sub edx, ecx
mov esi, ebp
lea ebx, [ebx]
cmp dword [esp + 0x34], 0x64
jne 0x4e4f36
mov edi, dword [edx + eax]
and edi, 0xffffff
cmp edi, dword [esp + 0x50]
je 0x4e4f4f
cmp dword [ebx + 0xc], 0
je 0x4e4f4a
mov edi, dword [eax]
and edi, 0xffffff
cmp edi, dword [esp + 0x48]
je 0x4e4f4f
mov edi, dword [eax]
mov dword [edx + eax], edi
add eax, 4
sub esi, 1
jne 0x4e4f20
mov edx, dword [esp + 0x1c]
lea eax, [ebp*4]
add edx, eax
add ecx, eax
sub dword [esp + 0x18], 1
mov dword [esp + 0x1c], edx
jne 0x4e4f10
jmp 0x4e50f5
mov edx, 0xff
sub edx, eax
test esi, esi
mov dword [esp + 0x18], edx
jle 0x4e50f5
lea edx, [ecx + 2]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], esi
test ebp, ebp
mov esi, edi
mov dword [esp + 0x20], esi
jle 0x4e50cf
mov edi, dword [esp + 0x54]
sub edi, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], ebp
jmp 0x4e4fcc
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [edx - 2]
movzx ebp, byte [edx]
movzx ebx, byte [edx - 1]
movzx esi, byte [esi + 1]
movzx edi, byte [edi + edx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], eax
and ecx, 0xff
and eax, 0xff
cmp dword [esp + 0x34], 0x64
mov dword [esp + 0x38], ebp
jne 0x4e5012
mov edx, dword [esp + 0x5c]
and edx, 0xffffff
cmp edx, dword [esp + 0x50]
je 0x4e50b3
mov edx, dword [esp + 0x978]
cmp dword [edx + 0xc], 0
je 0x4e5037
mov edx, dword [esp + 0x24]
and edx, 0xffffff
cmp edx, dword [esp + 0x48]
je 0x4e50b3
mov ebp, dword [esp + 0x38]
imul eax, dword [esp + 0x18]
imul ecx, dword [esp + 0x980]
imul ebx, dword [esp + 0x980]
imul esi, dword [esp + 0x18]
imul edi, dword [esp + 0x18]
imul ebp, dword [esp + 0x980]
add eax, ecx
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
add esi, ebx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
add edi, ebp
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
mov dh, al
movzx eax, cl
mov ecx, dword [esp + 0x20]
mov dl, bl
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov eax, 4
add dword [esp + 0x20], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x4c], 1
jne 0x4e4fc0
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [ebp*4]
add edi, eax
add edx, eax
sub dword [esp + 0x3c], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
jne 0x4e4f98
lea esi, [esp + 0x4e4]
call fcn.004e33a0
mov edi, dword [esp + 0x97c]
push 1
xor eax, eax
mov ecx, edi
call fcn.004e45e0
mov edx, dword [esp + 0x98c]
mov ecx, dword [esp + 0x988]
push edx
push ecx
push eax
xor eax, eax
xor edx, edx
lea ecx, [esp + 0x70]
call fcn.004e4270
call fcn.004e46b0
lea ecx, [esp + 0x64]
mov byte [esp + 0x970], 0
call fcn.004e32f0
mov ecx, esi
mov dword [esp + 0x970], 0xffffffff
call fcn.004e32f0
mov eax, 1
mov ecx, dword [esp + 0x968]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x960
ret 0x18