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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x90], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x44], eax
movlpd qword [esp + 0x50], xmm0
cmp word [ebp + 0x10], cx
je 0x49de24
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x49e825
movzx eax, word [edx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x49e825
movzx edi, ax
xor edx, edx
xor ebx, ebx
movlpd qword [esp + 0x80], xmm0
mov eax, edi
movlpd qword [esp + 0x48], xmm0
bts edx, eax
mov byte [esp + 0x20], 1
cmp eax, 0x20
mov dword [esp + 0x34], edi
cmovae ebx, edx
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x54]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x50]
neg eax
mov dword [esp + 0x1c], edx
sbb eax, eax
mov dword [esp + 0x14], ebx
neg eax
add eax, 0x182
xor esi, esi
movzx eax, ax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], esi
mov dword [esp + 0x5c], eax
nop dword [eax]
mov eax, dword [esp + 0x74]
cmp edx, eax
ja 0x49e78e
jb 0x49dee8
cmp ebx, dword [esp + 0x7c]
jae 0x49e792
movzx eax, word [ebp + 0x10]
cmp esi, eax
jg 0x49e7b4
test esi, esi
jle 0x49df12
mov edi, dword [esp + 0x5c]
or edi, dword [ecx + 8]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x60]
or edi, dword [ecx + 0xc]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x34]
cmp esi, eax
jge 0x49df38
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test eax, 0x800
je 0x49df46
mov ecx, esi
jmp 0x49e75c
mov esi, dword [esp + 0x94]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
test dword [esi + 0x24], 0x400
jne 0x49e780
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x49df67
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], ecx
test edi, edi
je 0x49e0e2
mov eax, dword [esp + 0x40]
add eax, 8
mov dword [esp + 0xc], eax
mov edi, eax
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x30], ecx
cmovae edx, ecx
and ecx, ebx
mov eax, edx
mov dword [esp + 0x38], edx
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x49e0c4
mov edi, dword [edi]
test edi, edi
je 0x49e0c0
mov eax, dword [edi + 4]
test eax, 0x41000
je 0x49dff6
test eax, 0x40000
je 0x49dfea
mov eax, dword [edi + 0x14]
mov edi, dword [eax + 8]
jmp 0x49dfed
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x49dfd1
jmp 0x49e0c0
mov al, byte [edi]
cmp al, 0xa6
je 0x49e004
cmp al, 0xa8
jne 0x49e0c0
mov edx, dword [esp + 0x64]
cmp dword [edi + 0x1c], edx
jne 0x49e0c0
mov eax, dword [esp + 0x78]
xor ebx, ebx
movsx ecx, word [edi + 0x20]
push ebx
movzx eax, ax
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xc8]
add edx, 0x50
call fcn.004994c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49e08c
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
not eax
not ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x20]
mov ecx, edx
and ecx, eax
mov eax, dword [esi + 0x24]
and eax, dword [esp + 0x48]
or ecx, eax
jne 0x49e074
or edx, dword [esi + 0x24]
jne 0x49e06f
test byte [esi + 0xc], 0x82
jne 0x49e08e
test ebx, ebx
cmove ebx, esi
lea ecx, [esp + 0xb8]
call fcn.00499190
mov esi, eax
test esi, esi
je 0x49e08c
mov eax, dword [esp + 0x2c]
jmp 0x49e052
mov esi, ebx
test esi, esi
je 0x49e0bc
movzx ebx, word [esi + 0xc]
cmp ebx, 1
jne 0x49e119
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
je 0x49e115
mov eax, dword [eax + 0x30]
nop dword [eax]
cmp esi, dword [eax]
je 0x49e115
inc ecx
add eax, 4
cmp ecx, edx
jl 0x49e0b0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
add edi, 0x14
inc ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x34]
jl 0x49df98
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x24]
test eax, 0x1000
jne 0x49e617
test eax, 0x100
je 0x49e1e5
mov dword [esp + 0x38], 0
mov ecx, 1
mov dword [esp + 0x48], 0
jmp 0x49e221
cmp ecx, edx
jge 0x49e0bc
test bl, 0x82
je 0x49e1af
cmp word [edi + 0x20], 0
jl 0x49e1af
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov edi, dword [eax]
mov ecx, edi
mov edx, dword [edx]
call fcn.00441ed0
mov ebx, eax
test ebx, ebx
jne 0x49e14b
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov eax, dword [esi]
test dword [eax + 4], 0x200
je 0x49e15e
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x49e164
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x100
jne 0x49e187
test esi, esi
je 0x49e17a
test dword [esi + 4], 0x100
jne 0x49e185
mov ecx, edi
call fcn.00441ed0
test eax, eax
jne 0x49e196
mov edx, esi
mov ecx, edi
call fcn.00441ed0
test eax, eax
je 0x49e0bc
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x49e1cc
test eax, eax
jne 0x49e1e2
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
or ebx, dword [esp + 0x30]
or edx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edx
jmp 0x49e0c0
movzx ecx, byte [eax + 0x4e3418]
movzx eax, byte [esi + 0x4e3418]
sub ecx, eax
jne 0x49e0bc
inc edx
jmp 0x49e1a0
mov edx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
test edx, edx
je 0x49e825
test byte [edx + 0x38], 4
jne 0x49e825
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x48], ecx
movzx ecx, word [edx + 0x34]
je 0x49e21c
mov byte [esp + 0x20], 1
test eax, 0x8000
je 0x49e221
mov byte [esp + 0x20], 0
xor al, al
xor dl, dl
mov byte [esp + 0x1b], al
mov dword [esp + 0x28], eax
movzx eax, cx
mov byte [esp + 0x1a], dl
xor edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x50], eax
test eax, eax
je 0x49e617
mov dword [esp + 0x2c], edx
nop word [eax + eax]
movzx ebx, word [esi + 0x18]
mov byte [esp + 0x13], 1
cmp edx, ebx
jge 0x49e2ca
movzx eax, word [esi + 0x2a]
cmp edx, eax
jl 0x49e2ca
mov edi, dword [esi + 0x30]
mov eax, dword [esp + 0x78]
mov esi, dword [edi + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x49e298
mov eax, dword [esp + 0x20]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x20], cl
jmp 0x49e5fa
test cl, 1
je 0x49e2ca
mov esi, dword [esi]
inc edx
cmp edx, ebx
jge 0x49e2c6
mov ecx, dword [esp + 0xc]
inc ecx
lea ecx, [edi + ecx*4]
nop dword [eax]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x49e2c0
inc edx
add ecx, 4
cmp edx, ebx
jl 0x49e2b0
jmp 0x49e2c6
xor al, al
mov byte [esp + 0x13], al
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x38]
test esi, esi
je 0x49e2f6
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], ecx
mov al, byte [edx + eax]
and al, 1
mov byte [esp + 0x19], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x49e302
jmp 0x49e2fb
mov byte [esp + 0x19], 0
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x20]
test al, al
je 0x49e337
test ecx, ecx
js 0x49e328
cmp edx, ebx
jl 0x49e337
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x49e337
mov byte [esp + 0x20], 0
jmp 0x49e337
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x20], eax
mov bl, byte [esp + 0x13]
xor edi, edi
test bl, bl
je 0x49e4c9
mov esi, dword [esp + 0x40]
add esi, 8
mov dword [esp + 0x30], esi
cmp edi, dword [esp + 0x34]
jge 0x49e4c9
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0x1c]
or edx, ecx
jne 0x49e4b9
mov edx, dword [esi]
test edx, edx
je 0x49e4b9
nop dword [eax + eax]
mov eax, dword [edx + 4]
test eax, 0x41000
je 0x49e3b5
test eax, 0x40000
je 0x49e3a9
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x49e3ac
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x49e390
jmp 0x49e4b9
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x49e3f6
mov al, byte [edx]
cmp al, 0xa6
je 0x49e3d9
cmp al, 0xa8
jne 0x49e4b9
mov eax, dword [esp + 0x64]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x49e4b9
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x49e4b9
jmp 0x49e467
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + ecx + 8]
test ecx, ecx
je 0x49e430
nop dword [eax]
mov eax, dword [ecx + 4]
test eax, 0x41000
je 0x49e430
test eax, 0x40000
je 0x49e429
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 8]
jmp 0x49e42c
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x49e410
mov eax, dword [edx + 4]
test eax, 0x41000
je 0x49e450
test eax, 0x40000
je 0x49e449
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x49e44c
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x49e430
push dword [esp + 0x64]
push ecx
xor ecx, ecx
call fcn.0044bad0
add esp, 8
test eax, eax
jne 0x49e4b9
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
je 0x49e50b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00441ed0
test eax, eax
jne 0x49e48c
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x49e4f6
test ecx, ecx
jne 0x49e508
mov bl, bh
test ecx, ecx
je 0x49e50b
mov esi, dword [esp + 0x30]
add esi, 0x14
inc edi
mov dword [esp + 0x30], esi
test bl, bl
jne 0x49e350
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x49e4dc
mov eax, dword [esp + 0x48]
movzx eax, ax
cmp ecx, eax
jge 0x49e4e1
mov byte [esp + 0x20], 0
cmp byte [esp + 0x28], 0
je 0x49e617
mov byte [esp + 0x20], 1
jmp 0x49e622
movzx eax, byte [eax + 0x4e3418]
movzx ecx, byte [ecx + 0x4e3418]
sub ecx, eax
jne 0x49e4af
inc edx
jmp 0x49e4a0
cmp word [esp + 0x80], 0
mov esi, dword [esp + 0x24]
je 0x49e523
mov eax, dword [esp + 0xc]
inc eax
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov byte [esp + 0x13], 1
jne 0x49e5a0
mov edx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov bh, byte [esp + 0x1b]
mov dl, byte [edx + eax*4 + 0x10]
and dl, 1
test bh, bh
je 0x49e56c
mov dh, byte [esp + 0x1a]
xor ecx, ecx
mov bl, byte [esp + 0x19]
movzx eax, byte [esp + 0x13]
xor bl, dh
cmp bl, dl
mov byte [esp + 0x1a], dh
mov byte [esp + 0x1b], bh
cmove ecx, eax
test cl, cl
je 0x49e4c9
jmp 0x49e5a0
xor dl, byte [esp + 0x19]
mov byte [esp + 0x1a], dl
je 0x49e59b
mov eax, dword [esp + 0x70]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x98]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov edx, dword [esp + 0xc]
test byte [ecx + eax*4 + 0x10], 2
je 0x49e5c5
movzx eax, word [esi + 0x18]
cmp edx, eax
jne 0x49e4c9
or dword [esi + 0x24], 0x80000
cmp dword [esp + 0x3c], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x28]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x14], eax
or dword [esp + 0x1c], ecx
add dword [esp + 0x2c], 0x14
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x50]
jge 0x49e4e1
mov esi, dword [esp + 0x24]
jmp 0x49e250
cmp byte [esp + 0x20], 0
je 0x49e772
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
or eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x30], eax
test edi, edi
je 0x49e758
mov ebx, dword [esp + 0x40]
add ebx, 8
mov dword [esp + 0x28], ebx
nop dword [eax]
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x14]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x49e736
mov ebx, dword [ebx]
test ebx, ebx
je 0x49e6a2
mov ecx, dword [esp + 0x44]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.00498b00
mov ecx, edx
jmp 0x49e6b3
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
or eax, ecx
mov dword [esp + 0x2c], ecx
jne 0x49e70a
mov dword [esp + 0xa0], fcn.00444ae0
mov eax, 1
mov word [esp + 0xb0], ax
mov dword [esp + 0xa4], 0x444980
mov dword [esp + 0xb4], 0
test ebx, ebx
je 0x49e70a
mov edx, ebx
lea ecx, [esp + 0x9c]
call fcn.0043ee30
cmp word [esp + 0xb0], 0
je 0x49e732
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
not ecx
and ecx, dword [esp + 0x48]
not eax
and eax, dword [esp + 0x2c]
or ecx, eax
mov edx, dword [esp + 0x1c]
jne 0x49e736
or dword [esp + 0x14], esi
or edx, edi
mov dword [esp + 0x1c], edx
jmp 0x49e736
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
add dword [esp + 0x28], 0x14
inc eax
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
cmp eax, edi
jl 0x49e660
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x70]
inc esi
cmp byte [esp + 0x20], 0
mov dword [esp + 0x70], esi
jne 0x49ded0
jmp 0x49e78a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
jmp 0x49e758
cmp byte [esi + 0x1d], 0
je 0x49e7b4
test al, al
jns 0x49e798
mov eax, dword [esp + 0x74]
cmp ebx, dword [esp + 0x7c]
jne 0x49e7b4
cmp edx, eax
jne 0x49e7b4
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x20], 0
jne 0x49e853
lea ebx, [edi - 1]
test ebx, ebx
jle 0x49e825
mov edi, dword [esp + 0x1c]
nop word [eax + eax]
cmp ebx, 0x40
jge 0x49e7f4
xor ecx, ecx
xor edx, edx
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x49e80e
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x14]
and esi, edi
cmp eax, ecx
jne 0x49e820
cmp esi, edx
je 0x49e83c
dec ebx
test ebx, ebx
jg 0x49e7d0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x11c]
or al, 0xff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret