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

Disassembly:
push 0xffffffffffffffff
push 0x4d6ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [ebx + 4]
push esi
push edi
mov edi, dword [ebx]
imul edi, ebp
mov esi, ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov eax, 0x64
push 0x320
mov byte [esp + 0x1b], 0
mov dword [esp + 0x64], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.004c4f28
mov dword [esp + 0x68], eax
or eax, 0xffffffff
add esp, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x94], 0
test esi, esi
je 0x491e1b
cmp dword [esp + 0xac], eax
je 0x491e1b
cmp dword [esp + 0xa8], eax
je 0x491e1b
lea eax, [edi*4]
push eax
call fcn.004c4f28
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
je 0x491e1b
and dword [esp + 0xac], 0xffffff
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jge 0x4917cd
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x20], ecx
jge 0x4917d7
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x24], ecx
jge 0x4917e1
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], ecx
jge 0x4917eb
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xa0]
cmp eax, ecx
jne 0x491811
mov edi, dword [ebx]
lea edx, [esp + 0x74]
mov dword [esp + 0xa0], edx
xor edx, edx
dec edi
mov byte [esp + 0x84], 1
dec ebp
jmp 0x491854
cmp byte [eax + 0x10], cl
jne 0x49183f
mov byte [eax + 0x10], 1
cmp dword [eax], ecx
jge 0x491820
mov dword [eax], ecx
cmp dword [eax + 4], ecx
jge 0x491828
mov dword [eax + 4], ecx
mov ecx, dword [ebx]
cmp dword [eax + 8], ecx
jl 0x491833
dec ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 4]
cmp dword [eax + 0xc], ecx
jl 0x49183f
dec ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x54], ecx
mov ecx, eax
sub ecx, edx
sub eax, ebp
dec ecx
dec eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
cmp ecx, eax
jle 0x49188e
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
cmp byte [esp + 0xbc], 0
je 0x49192b
mov ebp, dword [esp + 0x18]
cmp ebp, dword [esp + 0x30]
jg 0x49192b
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov edi, ecx
cmp ecx, eax
jg 0x491924
cmp edi, ecx
je 0x4918cc
cmp ebp, dword [esp + 0x18]
je 0x4918cc
cmp edi, eax
je 0x4918cc
cmp ebp, dword [esp + 0x30]
jne 0x49191f
mov edx, dword [ebx]
imul edx, ebp
add edx, edi
mov edx, dword [esi + edx*4]
cmp edx, dword [esp + 0xac]
je 0x49191f
mov eax, dword [ebx + 4]
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push 0xffffffffffffffff
sub eax, ebp
lea edx, [esp + 0xc4]
push edx
dec eax
push eax
mov eax, dword [esp + 0xc0]
push edi
push ebx
push esi
call fcn.0041a570
add esp, 0x2c
test al, al
je 0x491e0e
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jle 0x4918b8
inc ebp
cmp ebp, dword [esp + 0x30]
jle 0x4918b2
cmp dword [esp + 0x1c], 0
jg 0x49194b
cmp dword [esp + 0x20], 0
jg 0x49194b
cmp dword [esp + 0x24], 0
jg 0x49194b
cmp dword [esp + 0x28], 0
jle 0x491e09
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov ecx, eax
or ecx, 0xff000000
or eax, 0xfe000000
and ebp, 0xffffff
cmp byte [esp + 0xb0], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0xa8], ebp
je 0x491a6d
mov edx, ebp
mov dword [esp + 0x34], edx
cmp ebp, 0xffffffff
je 0x49199e
or ebp, 0xffffffff
mov dword [esp + 0xa8], ebp
cmp dword [esp + 0x1c], 0
mov eax, SysReAllocString
jne 0x4919ae
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], 0
jne 0x4919b9
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], 0
mov eax, SysReAllocString
jne 0x4919c9
mov dword [esp + 0x24], eax
cmp dword [esp + 0x28], 0
jne 0x4919d4
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x60]
test edi, edi
jle 0x4919fd
mov ecx, dword [esp + 0x58]
mov eax, esi
sub ecx, esi
mov byte [eax + 3], 0
mov edx, dword [eax]
or edx, 0xff000000
mov dword [ecx + eax], edx
add eax, 4
dec edi
jne 0x4919e4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xb4]
cmp eax, 1
jge 0x491c50
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jg 0x491df0
mov eax, dword [esp + 0x54]
jmp 0x491a30
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x38]
jg 0x491bb5
mov edi, edi
mov eax, dword [ebx]
imul eax, dword [esp + 0x2c]
add eax, dword [esp + 0x18]
mov eax, dword [esi + eax*4]
test eax, 0xff000000
jne 0x491b9e
cmp dword [esp + 0x34], 0xffffffff
je 0x491a79
xor ecx, ecx
cmp eax, dword [esp + 0x34]
setne cl
mov eax, ecx
jmp 0x491a87
or edx, 0xffffffff
mov dword [esp + 0x34], edx
jmp 0x49199e
xor edx, edx
cmp eax, dword [esp + 0xa8]
sete dl
mov eax, edx
test eax, eax
je 0x491b9e
mov eax, dword [ebx + 4]
sub eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push ecx
dec eax
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0xc4]
push ebx
push esi
call fcn.0041a570
add esp, 0x2c
test al, al
je 0x491e0e
cmp byte [esp + 0x40], 0
je 0x491b9e
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0xa4]
mov eax, ebp
sub eax, dword [esp + 0x44]
sub ecx, edx
cmp byte [edi + 0x12], 0
je 0x491bcd
cmp byte [edi + 0x10], 0
je 0x491b27
cmp eax, dword [esp + 0x1c]
jl 0x491c13
cmp ecx, dword [esp + 0x20]
jge 0x491b37
jmp 0x491c13
cmp eax, dword [esp + 0x1c]
jge 0x491b37
cmp ecx, dword [esp + 0x20]
jl 0x491c13
inc eax
cmp byte [edi + 0x11], 0
je 0x491b4d
cmp eax, dword [esp + 0x24]
jge 0x491c13
jmp 0x491c08
cmp eax, dword [esp + 0x24]
jl 0x491b5e
inc ecx
cmp ecx, dword [esp + 0x28]
jge 0x491c13
cmp edx, dword [esp + 0x50]
jg 0x491b9e
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
lea esp, [esp]
cmp ecx, ebp
jg 0x491b97
mov eax, dword [ebx]
mov ebp, dword [esp + 0x3c]
imul eax, edx
add eax, ecx
cmp dword [esi + eax*4], ebp
jne 0x491b8a
mov ebp, dword [edi + eax*4]
mov dword [esi + eax*4], ebp
mov ebp, dword [esp + 0x4c]
inc ecx
cmp ecx, ebp
jle 0x491b74
mov ecx, dword [esp + 0x44]
inc edx
cmp edx, dword [esp + 0x50]
jle 0x491b70
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x38]
jle 0x491a40
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x30]
jle 0x491a30
jmp 0x491df0
cmp byte [edi + 0x10], 0
je 0x491bdb
cmp eax, dword [esp + 0x1c]
jl 0x491bef
jmp 0x491be5
cmp eax, dword [esp + 0x1c]
jge 0x491b5e
cmp ecx, dword [esp + 0x20]
jge 0x491b5e
inc eax
cmp byte [edi + 0x11], 0
je 0x491bfe
cmp eax, dword [esp + 0x24]
jge 0x491c13
jmp 0x491c08
cmp eax, dword [esp + 0x24]
jl 0x491b5e
inc ecx
cmp ecx, dword [esp + 0x28]
jl 0x491b5e
cmp edx, dword [esp + 0x50]
jg 0x491b9e
mov ecx, dword [esp + 0x44]
lea ecx, [ecx]
cmp ecx, ebp
jg 0x491c44
mov eax, dword [ebx]
imul eax, edx
add eax, ecx
mov edi, dword [esi + eax*4]
cmp edi, dword [esp + 0x3c]
jne 0x491c3b
mov edi, dword [esp + 0x5c]
mov dword [esi + eax*4], edi
inc ecx
cmp ecx, ebp
jle 0x491c24
mov ecx, dword [esp + 0x44]
inc edx
cmp edx, dword [esp + 0x50]
jle 0x491c20
jmp 0x491b9e
cmp eax, 0xff
jle 0x491c63
mov eax, 0xff
mov dword [esp + 0xb4], eax
cmp edx, 0xffffffff
je 0x491c7a
mov ecx, edx
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x11], dl
mov dl, byte [esp + 0x34]
jmp 0x491c8f
mov ecx, ebp
mov edx, ebp
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x11], dl
mov dl, byte [esp + 0xa8]
movzx edi, cl
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], cl
mov dword [esp + 0x2c], edi
cmp eax, edi
jle 0x491ca9
mov byte [esp + 0x16], 0
jmp 0x491cb3
mov dl, byte [esp + 0x12]
sub cl, al
mov byte [esp + 0x16], cl
mov cl, byte [esp + 0x11]
movzx ebp, cl
cmp eax, ebp
jle 0x491cc5
mov byte [esp + 0x14], 0
jmp 0x491ccb
sub cl, al
mov byte [esp + 0x14], cl
movzx edi, dl
cmp eax, edi
jle 0x491cd9
mov byte [esp + 0x15], 0
jmp 0x491ce1
mov cl, dl
sub cl, al
mov byte [esp + 0x15], cl
mov ecx, 0xff
sub ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x491cf5
mov byte [esp + 0x13], 0xff
jmp 0x491cff
mov cl, al
add cl, byte [esp + 0x13]
mov byte [esp + 0x13], cl
mov edx, 0xff
sub edx, ebp
cmp eax, edx
jle 0x491d11
mov byte [esp + 0x11], 0xff
jmp 0x491d1b
mov cl, al
add cl, byte [esp + 0x11]
mov byte [esp + 0x11], cl
mov ecx, 0xff
sub ecx, edi
cmp eax, ecx
jle 0x491d2d
mov byte [esp + 0x12], 0xff
jmp 0x491d35
add al, byte [esp + 0x12]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jg 0x491df0
jmp 0x491d50
mov eax, dword [esp + 0x54]
mov ebp, eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x38]
jg 0x491ddd
mov edx, dword [ebx]
imul edx, dword [esp + 0x2c]
lea eax, [edx + ebp]
test dword [esi + eax*4], 0xff000000
mov cl, byte [esi + eax*4 + 2]
mov dl, byte [esi + eax*4 + 1]
mov bl, byte [esi + eax*4]
jne 0x491dc7
mov edi, dword [esp + 0x34]
cmp edi, 0xffffffff
je 0x491e4c
cmp cl, byte [esp + 0x16]
jb 0x491e88
cmp cl, byte [esp + 0x13]
ja 0x491e88
cmp dl, byte [esp + 0x14]
jb 0x491e88
cmp dl, byte [esp + 0x11]
ja 0x491e88
cmp bl, byte [esp + 0x15]
jb 0x491e88
cmp bl, byte [esp + 0x12]
ja 0x491e88
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x38]
jle 0x491d60
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jle 0x491d50
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x491e09
add esi, 3
jmp 0x491e00
mov byte [esi], 0
add esi, 4
dec eax
jne 0x491e00
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x58]
push edx
call fcn.004c57e5
add esp, 4
cmp dword [esp + 0x64], 0
je 0x491e2f
mov eax, dword [esp + 0x64]
push eax
call fcn.004c57e5
add esp, 4
mov ecx, dword [esp + 0x8c]
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret
cmp cl, byte [esp + 0x16]
jb 0x491dc7
cmp cl, byte [esp + 0x13]
ja 0x491dc7
cmp dl, byte [esp + 0x14]
jb 0x491dc7
cmp dl, byte [esp + 0x11]
ja 0x491dc7
cmp bl, byte [esp + 0x15]
jb 0x491dc7
cmp bl, byte [esp + 0x12]
ja 0x491dc7
mov ebx, dword [esp + 0x9c]
mov eax, dword [ebx + 4]
sub eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0xc0]
push ecx
push edx
push edi
lea ecx, [esp + 0x54]
push ecx
dec eax
push eax
mov eax, dword [esp + 0xc0]
push ebp
push ebx
push esi
call fcn.0041a570
add esp, 0x2c
test al, al
je 0x491e0e
cmp byte [esp + 0x40], 0
je 0x491dce
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0xa4]
mov eax, ebp
sub eax, dword [esp + 0x44]
sub ecx, edx
cmp byte [edi + 0x12], 0
je 0x491f9f
cmp byte [edi + 0x10], 0
je 0x491f1f
cmp eax, dword [esp + 0x1c]
jl 0x491fd5
cmp ecx, dword [esp + 0x20]
jge 0x491f2f
jmp 0x491fd5
cmp eax, dword [esp + 0x1c]
jge 0x491f2f
cmp ecx, dword [esp + 0x20]
jl 0x491fd5
inc eax
cmp byte [edi + 0x11], 0
je 0x491f45
cmp eax, dword [esp + 0x24]
jge 0x491fd5
jmp 0x491fce
cmp eax, dword [esp + 0x24]
jl 0x491f56
inc ecx
cmp ecx, dword [esp + 0x28]
jge 0x491fd5
cmp edx, dword [esp + 0x50]
jg 0x491dce
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
jg 0x491f93
lea esp, [esp]
mov eax, dword [ebx]
mov ebp, dword [esp + 0x3c]
imul eax, edx
add eax, ecx
cmp dword [esi + eax*4], ebp
jne 0x491f86
mov ebp, dword [edi + eax*4]
mov dword [esi + eax*4], ebp
mov ebp, dword [esp + 0x4c]
inc ecx
cmp ecx, ebp
jle 0x491f70
mov ecx, dword [esp + 0x44]
inc edx
cmp edx, dword [esp + 0x50]
jle 0x491f68
jmp 0x491dce
cmp byte [edi + 0x10], 0
je 0x491fad
cmp eax, dword [esp + 0x1c]
jl 0x491fb9
jmp 0x491fb3
cmp eax, dword [esp + 0x1c]
jge 0x491f56
cmp ecx, dword [esp + 0x20]
jge 0x491f56
inc eax
cmp byte [edi + 0x11], 0
je 0x491fc8
cmp eax, dword [esp + 0x24]
jge 0x491fd5
jmp 0x491fce
cmp eax, dword [esp + 0x24]
jl 0x491f56
inc ecx
cmp ecx, dword [esp + 0x28]
jl 0x491f56
cmp edx, dword [esp + 0x50]
jg 0x491dce
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
jg 0x492007
mov eax, dword [ebx]
imul eax, edx
add eax, ecx
mov edi, dword [esi + eax*4]
cmp edi, dword [esp + 0x3c]
jne 0x491ffe
mov edi, dword [esp + 0x5c]
mov dword [esi + eax*4], edi
inc ecx
cmp ecx, ebp
jle 0x491fe7
mov ecx, dword [esp + 0x44]
inc edx
cmp edx, dword [esp + 0x50]
jle 0x491fe3
jmp 0x491dce