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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov eax, ecx
mov dword [esp + 0x34], edx
xor ecx, ecx
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], cx
je 0x4924fd
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
je 0x4924fd
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x4924f4
movzx edi, ax
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + 0x78]
mov eax, edi
movlpd qword [esp + 0x58], xmm0
bts edx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x18], 1
mov dword [esp + 0x2c], edi
cmovae ebx, edx
mov dword [esp + 0x44], ecx
xor edx, ebx
mov dword [esp + 0x1c], esi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x7c]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x18]
neg eax
mov dword [esp + 0x14], edx
sbb eax, eax
neg eax
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
cmp edx, eax
ja 0x492d80
jb 0x4925bc
cmp esi, dword [esp + 0x84]
jae 0x492d87
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x44], eax
jg 0x492d7c
mov edi, dword [esp + 0x44]
test edi, edi
jle 0x4925ec
mov edx, dword [esp + 0x64]
or edx, dword [ecx + 8]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x68]
or edx, dword [ecx + 0xc]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x14]
cmp edi, eax
jge 0x492612
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + edi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edi
test eax, 0x800
je 0x49261c
mov ecx, edi
mov edi, dword [esp + 0x2c]
jmp 0x492d58
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edi
test dword [edi + 0x2c], 0x400
jne 0x492d66
and eax, 0x80
mov dword [esp + 0x58], eax
je 0x49263a
xor eax, eax
mov word [edi + 0x1e], ax
movzx eax, byte [edi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov ebx, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], ecx
jle 0x4927e2
mov eax, dword [esp + 0x3c]
add eax, 8
mov dword [esp + 0xc], eax
mov esi, eax
nop dword [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 + 0x50], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x1c]
mov eax, edx
mov dword [esp + 0x4c], edx
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x4927c4
mov esi, dword [esi]
test esi, esi
je 0x4927c0
nop dword [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x4926d5
test eax, 0x80000
je 0x4926c9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x4926cc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4926b0
jmp 0x4927c0
test esi, esi
je 0x4927c0
mov al, byte [esi]
cmp al, 0xa7
je 0x4926eb
cmp al, 0xa9
jne 0x4927c0
cmp dword [esi + 0x1c], ebx
jne 0x4927c0
mov eax, dword [esp + 0x80]
mov edx, ebx
mov ecx, dword [esp + 0x64]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x70]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x50]
push eax
lea ecx, [ecx + 0x50]
call fcn.0048d790
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4927c0
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x492760
mov eax, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
jle 0x49275c
mov eax, dword [eax + 0x38]
nop dword [eax]
cmp edi, dword [eax]
je 0x49275c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x492750
cmp ecx, edx
jge 0x4927bc
test bl, 0x82
je 0x4927a4
cmp word [esi + 0x20], 0
jl 0x4927a4
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00446260
mov ebx, eax
test ebx, ebx
jne 0x49278a
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.004464b0
test eax, eax
je 0x4927bc
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.0040bda0
test eax, eax
jne 0x4927bc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
or eax, dword [esp + 0x50]
or edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
add esi, 0x14
inc ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x492670
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x2c]
test eax, 0x1000
jne 0x492bdd
test eax, 0x100
je 0x49280e
mov dword [esp + 0x30], 0
mov ecx, 1
mov dword [esp + 0x50], 0
jmp 0x49284a
mov edx, dword [edi + 0x20]
mov dword [esp + 0x30], edx
test edx, edx
je 0x4924f4
test byte [edx + 0x38], 4
jne 0x4924f4
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x50], ecx
movzx ecx, word [edx + 0x34]
je 0x492845
mov byte [esp + 0x18], 1
test eax, 0x8000
je 0x49284a
mov byte [esp + 0x18], 0
xor al, al
mov byte [esp + 0x23], 0
mov dword [esp + 0x28], eax
xor edx, edx
movzx eax, cx
mov byte [esp + 0x22], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x78], eax
test eax, eax
jle 0x492bdd
mov dword [esp + 0x4c], edx
movzx ebx, word [edi + 0x18]
mov byte [esp + 0x21], 1
cmp edx, ebx
jge 0x4928ec
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x4928ec
mov edi, dword [edi + 0x38]
mov eax, dword [esp + 0x80]
mov esi, dword [edi + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x4928be
mov ebx, dword [esp + 0x18]
test ecx, 0x180
mov ecx, 0
movzx eax, bl
cmove ecx, eax
mov byte [esp + 0x18], cl
jmp 0x492bc0
test cl, 1
je 0x4928ec
mov esi, dword [esi]
inc edx
cmp edx, ebx
jge 0x4928e8
mov ecx, dword [esp + 0xc]
inc ecx
lea ecx, [edi + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x4928e2
inc edx
add ecx, 4
cmp edx, ebx
jl 0x4928d2
jmp 0x4928e8
xor al, al
mov byte [esp + 0x21], al
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x492918
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], ecx
mov al, byte [edx + eax]
and al, 1
mov byte [esp + 0x13], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x492924
jmp 0x49291d
mov byte [esp + 0x13], 0
or ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x18]
test al, al
je 0x49295f
test ecx, ecx
js 0x492950
cmp edx, ebx
jl 0x492950
mov eax, dword [esi + 0xc]
add ecx, ecx
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x38]
and al, 0xf
neg al
sbb al, al
and al, bl
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x18], eax
mov bh, byte [esp + 0x21]
xor edi, edi
test bh, bh
je 0x492ac8
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x6c], esi
nop dword [eax + eax]
cmp edi, dword [esp + 0x2c]
jge 0x492ac8
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 + 0x1c]
and ecx, dword [esp + 0x14]
or edx, ecx
jne 0x492ab8
mov edx, dword [esi]
test edx, edx
je 0x492ab8
nop dword [eax + eax]
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x4929e5
test eax, 0x80000
je 0x4929d9
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x4929dc
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4929c0
jmp 0x492ab8
test edx, edx
je 0x492ab8
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x38]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp ecx, 0xffffffff
jl 0x492a2e
mov al, byte [edx]
cmp al, 0xa7
je 0x492a11
cmp al, 0xa9
jne 0x492ab8
mov eax, dword [esp + 0x34]
mov bh, bl
cmp dword [edx + 0x1c], eax
jne 0x492ab8
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x492ab8
jmp 0x492a78
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x492a51
test dword [eax + 4], 0x2000
je 0x492a51
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x492a41
test dword [edx + 4], 0x2000
je 0x492a61
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x492a51
push dword [esp + 0x34]
xor ecx, ecx
push eax
call fcn.0044e200
add esp, 8
test eax, eax
jne 0x492ab8
mov ecx, dword [esp + 0x38]
cmp ecx, 0xffffffff
je 0x492af6
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.00446260
test eax, eax
jne 0x492a99
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov bh, bl
mov esi, dword [esp + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.0040bda0
test eax, eax
je 0x492afa
mov esi, dword [esp + 0x6c]
add esi, 0x14
inc edi
mov dword [esp + 0x6c], esi
test bh, bh
jne 0x492980
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x492adb
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x492ae0
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x28]
test al, al
je 0x492bdd
mov byte [esp + 0x18], 1
jmp 0x492be9
mov esi, dword [esp + 0xc]
cmp word [esp + 0x58], 0
mov ebx, dword [esp + 0x24]
je 0x492b0d
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov esi, dword [esp + 0x3c]
jne 0x492b6a
lea eax, [edi + edi*4]
mov al, byte [esi + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x23], 0
je 0x492b3a
mov cl, byte [esp + 0x13]
xor cl, byte [esp + 0x22]
cmp cl, al
sete al
test al, al
je 0x492ac8
jmp 0x492b6a
xor al, byte [esp + 0x13]
mov byte [esp + 0x22], al
je 0x492b65
mov eax, dword [esp + 0x44]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x18]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0xc]
lea eax, [edi + edi*4]
test byte [esi + eax*4 + 0x10], 2
je 0x492b8b
movzx eax, word [ebx + 0x18]
cmp edx, eax
jne 0x492ac8
or dword [ebx + 0x2c], 0x80000
cmp dword [esp + 0x38], 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 + 0x1c], eax
or dword [esp + 0x14], ecx
add dword [esp + 0x4c], 0x14
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x78]
jge 0x492ae0
mov edi, dword [esp + 0x24]
jmp 0x492873
mov ebx, dword [esp + 0x18]
test bl, bl
je 0x492d44
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x2c]
or eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x50], eax
test edi, edi
jle 0x492d4c
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x28], esi
xor edi, edi
xor edx, edx
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov ecx, edi
cmovae edx, edi
and ecx, dword [esp + 0x1c]
mov eax, edx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x14]
and eax, edx
or ecx, eax
jne 0x492d20
mov ecx, dword [esp + 0x40]
mov esi, dword [esi]
add ecx, 0x1f0
test esi, esi
je 0x492c8e
cmp byte [esi], 0xa7
jne 0x492c78
test byte [esi + 4], 0x20
jne 0x492c78
mov edx, dword [esi + 0x1c]
call fcn.0048d360
mov ebx, eax
mov ecx, edx
jmp 0x492c9f
test dword [esi + 4], 0x810000
jne 0x492c8e
mov edx, esi
call fcn.0048cdd0
mov ebx, eax
mov ecx, edx
jmp 0x492c9f
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, ebx
mov dword [esp + 0x30], ecx
or eax, ecx
jne 0x492cf4
mov dword [esp + 0x98], fcn.00448a50
mov eax, 1
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x4488d0
mov dword [esp + 0xac], 0
test esi, esi
je 0x492cf4
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.00442ec0
cmp word [esp + 0xa8], 0
je 0x492d1c
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
not ecx
mov edx, dword [esp + 0x14]
not eax
and eax, dword [esp + 0x30]
and ecx, ebx
or ecx, eax
jne 0x492d20
or dword [esp + 0x1c], edi
or edx, dword [esp + 0x78]
mov dword [esp + 0x14], edx
jmp 0x492d20
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
add dword [esp + 0x28], 0x14
inc eax
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x50], eax
cmp eax, edi
jl 0x492c20
mov ecx, dword [esp + 0x24]
jmp 0x492d50
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
inc dword [esp + 0x44]
test bl, bl
jne 0x4925a1
jmp 0x492d7c
cmp byte [edi + 0x20], 0
je 0x492d78
and eax, 0x280
cmp eax, 0x80
jne 0x492d8d
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
cmp esi, dword [esp + 0x84]
jne 0x492d9b
cmp edx, eax
jne 0x492d9b
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x492e16
lea ebx, [edi - 1]
test ebx, ebx
jle 0x4924f4
mov edi, dword [esp + 0x14]
nop
cmp ebx, 0x40
jge 0x492dd4
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 0x492dee
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, ecx
and eax, esi
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x492dfe
cmp esi, edx
je 0x492e0d
dec ebx
test ebx, ebx
jle 0x4924f4
mov esi, dword [esp + 0x1c]
jmp 0x492db0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret