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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x49eb8a
sub esp, 0xdc
mov eax, 0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov byte [esp + 0x43], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x49eb65
call fcn.0047dd60
lea edi, [esp + 0xc0]
lea esi, [esp]
call fcn.0045c65e
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe8]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xc0]
call fcn.0045c65e
call fcn.0049cb30
lea edi, [esp + 0x98]
lea esi, [esp + 0x20]
call fcn.0045c65e
lea edi, [esp + 0x84]
lea esi, [esp + 0x98]
call fcn.0045c65e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
test ecx, 0x80000000
je 0x49e3b1
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
mov ebx, edx
shl edx, 1
mov ebp, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
shr ebp, 0x1f
add ecx, 0xd7b17f80
adc ebp, 0xd
jmp 0x49e3c1
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
mov ebx, eax
test ebp, ebp
sete cl
test edx, edx
sete dl
and edx, ecx
test dl, dl
je 0x49e3ee
test ebx, 0x3fffffff
jne 0x49e3ee
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe8]
xor eax, eax
jmp 0x49e4cd
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0045c17b
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xe8]
mov dword [esp], ebx
call edx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x41], cl
lea edi, [esp + 0xc0]
lea esi, [esp + 4]
call fcn.0045c65e
lea edi, [esp + 0xac]
lea esi, [esp + 0xc0]
call fcn.0045c65e
movzx ecx, byte [esp + 0x41]
test cl, cl
je 0x49e474
lea edi, [esp]
lea esi, [esp + 0x98]
call fcn.0045c65e
lea edi, [esp + 0x14]
lea esi, [esp + 0xac]
call fcn.0045c65e
call fcn.0047bfe0
movzx eax, byte [esp + 0x28]
test al, al
je 0x49e4bd
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x98]
call fcn.0045c65e
call fcn.00482bf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd8], eax
mov byte [esp + 0x43], 1
mov eax, 1
jmp 0x49e4cd
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe8]
xor eax, eax
mov ebx, dword [esp + 0xe0]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
je 0x49e559
mov dword [esp + 0x74], ebp
mov byte [esp + 0x42], al
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004820a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0xd4], eax
movzx ebp, byte [esp + 0x42]
or ebp, 2
xchg ebp, eax
mov byte [esp + 0x42], al
xchg ebp, eax
xchg ebp, eax
mov byte [esp + 0x43], al
xchg ebp, eax
mov dword [esp], 0x10
lea esi, [0x4eac4c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.0043cbd0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
movzx eax, byte [esp + 0x42]
mov dword [esp + 0x70], edx
mov dword [esp + 0x48], ecx
mov byte [esp + 0x42], al
mov ebx, dword [ecx + 0x1c]
mov dword [esp], edx
lea ebp, [0x4cf2e0]
mov dword [esp + 4], ebp
lea esi, [0x5bb108]
mov dword [esp + 8], esi
call ebx
mov eax, dword [esp + 0x10]
lea ecx, [0x4c8580]
cmp dword [esp + 0xc], ecx
je 0x49e593
xor eax, eax
test eax, eax
jne 0x49e5a4
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
jmp 0x49e65d
mov dword [esp + 0x60], eax
lea eax, [0x4d5a20]
mov dword [esp], eax
call fcn.0040b170
mov edi, dword [esp + 4]
mov eax, dword [0x5bb250]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
test eax, eax
jne 0x49e5d4
mov dword [edi], edx
mov dword [edi + 4], ecx
jmp 0x49e5eb
mov eax, edx
call fcn.0045bfa0
lea edx, [edi + 4]
mov eax, ecx
mov ecx, edi
mov edi, edx
call fcn.0045bfa0
mov edi, ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49e605
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
jmp 0x49e61f
lea ecx, [edi + 8]
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.0045bfa0
lea edi, [edx + 0xc]
xor eax, eax
call fcn.0045bfa0
mov edi, edx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
lea edx, [0x4cf2e0]
mov dword [esp + 8], edx
lea edx, [0x5bb108]
mov dword [esp + 0xc], edx
lea edx, [0x4c8580]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
call fcn.004833d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xe0]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jne 0x49e671
mov ebx, dword [0x591190]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x4e05a5]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0xec]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xf8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
call fcn.0049d2d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x49e802
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], ecx
lea eax, [0x4d70a0]
mov dword [esp], eax
call fcn.0040b170
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x4e05a5]
mov dword [eax], ecx
mov ecx, dword [esp + 0xf0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49e739
mov ecx, dword [esp + 0xec]
mov dword [eax + 8], ecx
jmp 0x49e74c
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xec]
call fcn.0045bfa0
mov eax, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x5bb250]
test ecx, ecx
jne 0x49e785
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x24], ecx
jmp 0x49e795
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x78]
call fcn.0045bfa0
mov eax, ecx
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
lea ecx, [0x5073e4]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
movzx eax, byte [esp + 0x42]
test al, 2
je 0x49e7e4
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd4]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x49e7fb
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xdc
ret
mov dword [esp + 0x58], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x5c], ebx
lea eax, [0x4d4b20]
mov dword [esp], eax
call fcn.0040b170
mov edi, dword [esp + 4]
mov dword [esp + 0x6c], edi
mov eax, dword [0x5bb250]
test eax, eax
jne 0x49e83c
mov esi, dword [esp + 0xe0]
call fcn.0045c5e6
jmp 0x49e859
lea eax, [0x4d9ae0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0xe0]
mov dword [esp + 8], eax
call fcn.0040f7e0
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x48], ecx
mov ebx, dword [0x5bb250]
test ebx, ebx
jne 0x49e87d
mov ebx, dword [esp + 0xec]
mov dword [edx + 0x44], ebx
jmp 0x49e88e
lea edi, [edx + 0x44]
mov eax, dword [esp + 0xec]
call fcn.0045bfa0
mov ebx, eax
mov ebp, dword [esp + 0xf8]
mov dword [edx + 0x50], ebp
mov ebp, dword [0x5bb250]
test ebp, ebp
jne 0x49e8ae
mov eax, dword [esp + 0xf4]
mov dword [edx + 0x4c], eax
jmp 0x49e8bd
lea edi, [edx + 0x4c]
mov eax, dword [esp + 0xf4]
call fcn.0045bfa0
mov eax, dword [esp + 0xe0]
mov ebp, dword [eax + 0x2c]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, 1
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x49e934
cmp ecx, 3
jne 0x49e934
cmp word [ebx], 0x6374
jne 0x49e934
cmp byte [ebx + 2], 0x70
jne 0x49e934
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
lea eax, [0x4eac98]
mov dword [esp + 0xc], eax
call fcn.004a3f70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x49e946
xor ecx, ecx
xor edx, edx
xor eax, eax
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x7c]
test ecx, ecx
jle 0x49e990
mov edi, dword [esp + 0x6c]
mov dword [esp], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.0049ec50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x49e9c8
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.0049f3e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x49ea33
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
movzx eax, byte [esp + 0x42]
test al, 2
je 0x49ea15
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd4]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x49ea2c
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xdc
ret
lea eax, [0x5099bc]
cmp edx, eax
jne 0x49ea41
mov eax, ebx
jmp 0x49ea48
mov eax, ebx
mov ebx, 0
jne 0x49eafe
mov ecx, dword [esp + 0xe0]
mov ebp, dword [ecx + 0x34]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, 1
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x49eafe
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x80], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004ab6b0
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 0x34]
test ecx, ecx
sete dl
mov eax, dword [eax + 0x30]
test eax, eax
sete bl
and ebx, edx
test bl, bl
je 0x49eabc
mov ecx, 3
mov eax, 0x7e11d600
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x64]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.004ac940
mov edx, dword [0x5911a4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
movzx eax, byte [esp + 0x42]
test al, 2
je 0x49eb47
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd4]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x49eb5e
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xdc
ret
lea eax, [0x4ce700]
mov dword [esp], eax
lea eax, [0x506aac]
mov dword [esp + 4], eax
call fcn.00432050
nop
call fcn.00430fe0
add esp, 0xdc
ret
call fcn.0045ab60
jmp fcn.0049e290