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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4e20b0
sub esp, 0x90
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xb0]
cmp eax, ecx
jl 0x4e1fe2
test eax, eax
je 0x4e1fb4
test ecx, ecx
je 0x4e1fb4
cmp ecx, 1
je 0x4e1f38
mov edx, dword [esp + 0x9c]
test edx, edx
jle 0x4e1f23
lea ebx, [edx - 1]
cmp ebx, edx
jae 0x4e20a9
mov ebx, dword [esp + 0x94]
lea ebp, [ebx + edx*4 - 4]
mov esi, dword [esp + 0xa8]
lea edi, [esi - 1]
cmp edi, esi
jae 0x4e20a9
mov edi, dword [esp + 0xa0]
lea edi, [edi + esi*4 - 4]
cmp edi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4e1eb8
xor edx, edx
xor ebx, ebx
mov ebp, dword [0x79a0c8]
cmp ecx, ebp
jl 0x4e1dd4
mov dword [esp + 0x8c], edx
mov dword [esp + 0x3c], ebx
mov dword [esp], ecx
mov eax, dword [0x79a0c8]
mov dword [esp + 4], eax
call fcn.004e17e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x4e2094
mov edx, dword [esp + 0xb4]
cmp eax, edx
ja 0x4e208d
lea ebx, [eax + eax*2]
shl ebx, 1
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0xa4]
lea edi, [esi + ebp]
cmp ebx, edi
jle 0x4e1dcd
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x3c]
cmp ebx, esi
jg 0x4e1d8a
ja 0x4e2086
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.004e1030
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x4e207f
mov edx, dword [esp + 0x50]
mov ebx, edx
shl edx, 1
cmp edx, eax
ja 0x4e2078
sub ecx, edx
mov esi, ecx
neg ecx
shl ebx, 3
sar ecx, 0x1f
and ebx, ecx
mov ecx, dword [esp + 0x8c]
add ebx, ecx
mov dword [esp], ebx
sub eax, edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004e00a0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xb0]
cmp eax, ecx
jge 0x4e1d79
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.004e00e0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xb0]
cmp eax, ecx
ja 0x4e2071
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 0xb4]
sub edx, eax
mov dword [esp + 0x44], edx
mov ebp, edx
neg edx
mov esi, eax
shl eax, 2
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0xac]
add eax, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x18], eax
sub ecx, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
call fcn.004e1820
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x50]
mov dword [esp + 0x18], edi
call fcn.004e16d0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004e00e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x70]
jmp 0x4e1ce8
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.004e00e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], esi
call fcn.004e1820
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x18], edi
call fcn.004e16d0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
call fcn.004e1820
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x50]
add edi, esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x18], edi
call fcn.004e16d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
mov edi, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0xa0]
cmp ebx, edi
jge 0x4e1d32
ja 0x4e206a
mov dword [esp + 0x60], ebx
sub edi, ebx
sub esi, ebx
mov dword [esp + 0x54], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 2
sar esi, 0x1f
and ebx, esi
add ebx, ebp
mov esi, dword [esp + 0x50]
cmp edi, esi
jle 0x4e1d27
mov edi, dword [esp + 0x54]
cmp esi, edi
jbe 0x4e1b2d
jmp 0x4e2063
mov esi, edi
mov edi, dword [esp + 0x54]
jmp 0x4e1b2d
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.004e00e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0x90
ret
mov edx, dword [esp + 0xa4]
cmp edx, ecx
jne 0x4e19ea
jmp 0x4e1d32
lea eax, [0x5df6a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 8], eax
call fcn.00437b80
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
jmp 0x4e194d
mov ebx, edi
jmp 0x4e1933
lea ebp, [eax + ecx]
cmp ebp, ebx
jg 0x4e1e78
ja 0x4e209b
mov dword [esp + 0x38], ebx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x34], ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov edi, dword [esp + 0xa0]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xac]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
call fcn.004e09c0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.004e00e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0x90
ret
lea edx, [0x5df6a0]
mov dword [esp], edx
mov dword [esp + 4], ebp
lea edx, [ecx + eax + 4]
mov dword [esp + 8], edx
call fcn.00437b80
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
jmp 0x4e1de5
test edx, edx
jle 0x4e1f18
lea ebp, [edx - 1]
cmp ebp, edx
jae 0x4e20a2
lea ebp, [ebx + edx*4 - 4]
mov edi, dword [esp + 0xb4]
lea esi, [edi - 1]
cmp esi, edi
jae 0x4e20a2
mov esi, dword [esp + 0xac]
lea esi, [esi + edi*4 - 4]
cmp esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4e1f03
mov esi, dword [esp + 0xa8]
jmp 0x4e18c4
mov esi, dword [esp + 0xa8]
mov edx, ebx
mov ebx, dword [esp + 0x9c]
jmp 0x4e18c8
mov edi, dword [esp + 0xb4]
xor ebp, ebp
jmp 0x4e1ef1
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0xa8]
xor ebp, ebp
jmp 0x4e18ba
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
call fcn.004e0820
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc0], eax
add esp, 0x90
ret
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x20], eax
call fcn.004e1820
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0x90
ret
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.004e1820