Function at 0x49b840
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 0x49c14e
sub esp, 0x90
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
movzx eax, byte [esp + 0xac]
test al, al
jne 0x49c053
mov ecx, dword [0x91e4ec]
lea edx, [0x7e9fa0]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x98]
lea ebp, [ebx + edx]
cmp ebp, 4
jle 0x49c034
cmp ebp, 8
jle 0x49c015
cmp ebp, 0x10
jle 0x49bff6
cmp ebp, 0x20
jle 0x49bfd7
cmp ebp, 0x40
jle 0x49bfb8
cmp ebp, 0x80
jg 0x49c11a
lea eax, [0x836d80]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, pe_nt_image_headers32
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], ecx
test byte [eax], al
mov esi, dword [esp + 0x5c]
test byte [esi], al
mov ebx, dword [0xc6f140]
test ebx, ebx
jne 0x49bf91
mov edi, eax
call fcn.0044ce16
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x84]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x49b9e5
mov dword [esp + 0x40], 0
mov eax, dword [ebx + 8]
shr eax, 0x18
mov byte [esp + 0x40], al
mov eax, dword [ebx + 8]
shr eax, 0x10
mov byte [esp + 0x41], al
mov eax, dword [ebx + 8]
shr eax, 8
mov byte [esp + 0x42], al
mov eax, dword [ebx + 8]
mov byte [esp + 0x43], al
mov dword [esp], edi
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.0049a080
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
lea esi, [eax + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
mov edx, ebp
mov ebp, dword [esp + 0x6c]
cmp esi, ecx
jge 0x49ba8e
mov dword [esp + 0x48], esi
lea ebx, [ebx + esi*8]
mov ecx, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [0x928080]
cmp ecx, esi
jne 0x49c0fc
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 1]
cmp esi, edx
jg 0x49ba47
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
lea edx, [ebp + ecx*4]
mov esi, dword [0xc6f140]
test esi, esi
jne 0x49ba35
mov dword [ebp + ecx*4], ebx
jmp 0x49b95b
mov ecx, edi
mov edi, edx
mov eax, ebx
call fcn.0044c860
mov edi, ecx
jmp 0x49b95b
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], edi
lea eax, [0x890da0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
jmp 0x49ba12
mov dword [esp + 0x44], edx
mov dword [esp + 0x80], ebp
movzx ebx, byte [esp + 0xac]
test bl, bl
jne 0x49bf5d
movzx eax, byte [0x91e1ff]
mov byte [esp + 0x22], al
mov dword [esp], edi
lea eax, [esp + 0x22]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0049a080
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x2c]
xor edi, edi
jmp 0x49bb6b
mov dword [esp + 0x3c], 0
mov edx, dword [ecx + 8]
shr edx, 0x18
mov byte [esp + 0x3c], dl
mov edx, dword [ecx + 8]
shr edx, 0x10
mov byte [esp + 0x3d], dl
mov edx, dword [ecx + 8]
shr edx, 8
mov byte [esp + 0x3e], dl
mov ecx, dword [ecx + 8]
mov byte [esp + 0x3f], cl
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.0049a080
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
cmp edi, ecx
jge 0x49bc21
lea edx, [edx + edi*8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], ecx
mov edx, dword [edx]
lea ecx, [0x928080]
cmp edx, ecx
jne 0x49c0de
mov dword [esp + 0x48], edi
lea edx, [esi + 1]
cmp edx, ebx
jg 0x49bbd9
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
lea ecx, [ebp + esi*4]
mov edx, dword [0xc6f140]
test edx, edx
jne 0x49bbc3
mov ecx, dword [esp + 0x60]
mov dword [ebp + esi*4], ecx
jmp 0x49baf9
mov edi, ecx
mov esi, eax
mov eax, dword [esp + 0x60]
call fcn.0044c860
mov ecx, eax
mov eax, esi
jmp 0x49baf9
mov dword [esp + 0x2c], esi
lea eax, [0x890da0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
lea ecx, [0x928080]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
jmp 0x49bb9c
cmp esi, 0x32
jg 0x49c0c4
mov edx, dword [esp + 0x68]
mov byte [edx + 0xc], 0
mov dword [edx + 8], eax
mov ebx, dword [esp + 0x98]
mov word [edx + 0x20], bx
mov word [edx + 0x22], cx
movzx ebx, byte [esp + 0xac]
test bl, bl
je 0x49bc5a
or ecx, 0xffff8000
mov word [edx + 0x22], cx
mov dword [esp + 0x38], eax
lea ecx, [0xc5da68]
mov dword [esp], ecx
lea edx, [0x80a620]
mov dword [esp + 4], edx
lea ebx, [esp + 0x38]
mov dword [esp + 8], ebx
call fcn.0045d5f0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x49bd19
lea eax, [0x7e44e0]
cmp ecx, eax
jne 0x49c0ac
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [edx]
mov dword [esp + 0x7c], edx
xor ebx, ebx
jmp 0x49bcc7
mov ebp, dword [esp + 0x44]
lea ebx, [ebp + 1]
lea eax, [0x7e44e0]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
cmp ebx, ecx
jge 0x49bd19
mov dword [esp + 0x44], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.0049abf0
movzx eax, byte [esp + 0xc]
test al, al
je 0x49bcb2
lea eax, [0x928080]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb4], eax
nop
call fcn.004272f0
add esp, 0x90
ret
lea eax, [0xc5da60]
mov dword [esp], eax
call fcn.0045e960
lea eax, [0xc5da60]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x8bf884]
mov dword [esp + 4], eax
call fcn.00426b30
test eax, eax
jne 0x49bf50
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
lea ecx, [0xc5da68]
mov dword [esp], ecx
lea ecx, [0x80a620]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0045d5f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x49be0c
lea edx, [0x7e44e0]
cmp ecx, edx
jne 0x49c094
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
mov dword [esp + 0x78], eax
xor edx, edx
jmp 0x49bdba
mov ebx, dword [esp + 0x44]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
cmp edx, ecx
jge 0x49be0c
mov dword [esp + 0x44], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.0049abf0
movzx eax, byte [esp + 0xc]
test al, al
je 0x49bdab
lea eax, [0x928080]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], eax
nop
call fcn.004272f0
add esp, 0x90
ret
lea eax, [0x823300]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
lea ecx, [0x4a6810]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call fcn.0049c160
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0049b570
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
xor edx, edx
jmp 0x49be7c
mov ebx, dword [esp + 0x44]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
cmp edx, eax
jge 0x49bedb
mov dword [esp + 0x44], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.0049abf0
movzx eax, byte [esp + 0xc]
test al, al
je 0x49be6d
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
nop
call fcn.004272f0
add esp, 0x90
ret
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.00496d00
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00497030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
nop
call fcn.004272f0
add esp, 0x90
ret
nop
call fcn.004272f0
add esp, 0x90
ret
movzx eax, byte [0x91e1fe]
mov byte [esp + 0x23], al
mov dword [esp], edi
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0049a080
mov edi, dword [esp + 0x10]
jmp 0x49baa9
mov dword [esp + 0x30], edx
lea ecx, [0x846b40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0040f790
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
jmp 0x49b937
lea eax, [0x836f00]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x40
jmp 0x49b90f
lea eax, [0x836e40]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x20
jmp 0x49b90f
lea eax, [0x836de0]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x10
jmp 0x49b90f
lea eax, [0x836f60]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 8
jmp 0x49b90f
lea eax, [0x836ea0]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 4
jmp 0x49b90f
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x49c134
mov eax, dword [esp + 0x94]
lea edx, [eax + ecx*8 - 8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov ebx, dword [ebx + 0x50]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 4]
cmp eax, 0x17
jne 0x49c134
movzx eax, byte [esp + 0xac]
jmp 0x49b886
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x809c60]
mov dword [esp + 8], eax
call fcn.004071c0
ud2
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x809c60]
mov dword [esp + 8], eax
call fcn.004071c0
ud2
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [0x91fe50]
mov dword [esp + 4], eax
call fcn.00427650
ud2
mov dword [esp], edx
lea eax, [0x890da0]
mov dword [esp + 4], eax
lea eax, [0x886040]
mov dword [esp + 8], eax
call fcn.00407280
ud2
mov dword [esp], ecx
lea eax, [0x890da0]
mov dword [esp + 4], eax
lea eax, [0x886040]
mov dword [esp + 8], eax
call fcn.00407280
ud2
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [0x91fe48]
mov dword [esp + 4], eax
call fcn.00427650
ud2
lea eax, [0x80a3e0]
mov dword [esp], eax
lea eax, [0x91fe38]
mov dword [esp + 4], eax
call fcn.00427650
ud2
call fcn.0044b100
jmp fcn.0049b840