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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49d5ff
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x49d32c
mov ebp, dword [esp + 0x58]
test byte [ebp], al
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
jmp 0x49d368
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x38]
sub ebx, esi
cmp ebx, 4
jl 0x49d500
mov ebx, dword [esp + 0x44]
sub ecx, ebx
cmp ecx, 4
jl 0x49d504
mov dword [esp + 0x34], ecx
lea ecx, [esi + 4]
cmp edx, ecx
jb 0x49d5f9
cmp esi, ecx
ja 0x49d5f2
mov dword [esp + 0x3c], ecx
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
movzx esi, byte [edi + edx]
movzx esi, byte [esi + ebp + 0x40]
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
movzx ecx, byte [edi + edx + 1]
movzx ecx, byte [ecx + ebp + 0x40]
movzx eax, byte [edi + edx + 2]
movzx eax, byte [eax + ebp + 0x40]
movzx edx, byte [edi + edx + 3]
movzx edx, byte [edx + ebp + 0x40]
or esi, ecx
or esi, eax
or esi, edx
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x49d3eb
mov eax, 0
jmp 0x49d419
movzx ebp, byte [esp + 0x33]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
shl ebp, 0x1a
movzx ecx, cl
shl ecx, 0x14
or ecx, ebp
movzx ebp, al
shl ebp, 0xe
or ebp, ecx
movzx eax, dl
shl eax, 8
or eax, ebp
xchg esi, eax
cmp al, 0xff
xchg esi, eax
mov ebp, dword [esp + 0x58]
je 0x49d460
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x49d5eb
mov esi, dword [esp + 0x64]
mov edx, esi
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
bswap eax
mov ebp, dword [esp + 0x5c]
mov dword [ebp + esi], eax
add ebx, 3
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
jmp 0x49d348
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
jb 0x49d5e4
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov esi, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], esi
call fcn.0049cd50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x44]
add ecx, ebx
test eax, eax
jne 0x49d4ec
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x5c]
jmp 0x49d348
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x49d534
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov ebx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp edx, esi
jle 0x49d5c3
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x60]
cmp esi, ebx
jb 0x49d5db
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
sub ecx, ebx
mov dword [esp + 0x3c], ecx
sub esi, ebx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], esi
call fcn.0049cd50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x2c]
test eax, eax
je 0x49d50a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, ebx
mov ecx, esi
call fcn.00467d10
mov eax, ebx
call fcn.00467d10
mov eax, ebx
call fcn.00467d10
mov eax, esi
call fcn.00467d10
call fcn.00467cf0
nop
call fcn.00466840
jmp fcn.0049d2d0