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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov eax, ecx
mov dword [esp + 0x38], edx
xor ecx, ecx
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x60], xmm0
cmp word [ebp + 0x10], cx
je 0x6374c8
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x637dca
movzx eax, word [edx]
mov dword [esp + 0x98], eax
cmp eax, 0x3f
ja 0x637dca
movzx ebx, ax
xor edx, edx
xor esi, esi
mov edi, dword [esp + 0x64]
mov eax, ebx
movlpd qword [esp + 0x88], xmm0
bts edx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x18], 1
mov dword [esp + 0x38], ebx
cmovae esi, edx
mov dword [esp + 0x48], ecx
xor edx, esi
mov dword [esp + 0x14], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae esi, edx
add edx, 0xffffffff
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x18]
adc esi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov eax, ecx
setne al
mov dword [esp + 0x1c], esi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
nop
mov eax, dword [esp + 0x4c]
cmp edi, eax
ja 0x637d58
jb 0x63759b
cmp esi, dword [esp + 0x84]
jae 0x637d5f
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x48], eax
jg 0x637d54
mov esi, dword [esp + 0x48]
test esi, esi
jle 0x6375cb
mov ebx, dword [esp + 0x6c]
or ebx, dword [ecx + 8]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x70]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x38]
cmp esi, eax
jge 0x6375ee
cmp word [esp + 0x94], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x28], esi
je 0x6375f5
mov ecx, esi
jmp 0x637d32
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x24]
test edx, 0x400
jne 0x637d44
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov dword [esp + 0x88], eax
je 0x63761b
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]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x637733
mov ebx, dword [esp + 0x40]
add ebx, 4
mov dword [esp + 0x2c], ebx
nop word [eax + eax]
xor ecx, ecx
xor edx, edx
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 + 0x34], edx
and eax, edi
or ecx, eax
jne 0x637710
mov esi, dword [ebx]
test esi, esi
je 0x6376a3
mov eax, dword [esi + 4]
test eax, 0x41000
je 0x6376a3
test eax, 0x40000
je 0x63769c
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 4]
jmp 0x63769f
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x637683
cmp byte [esi], 0xa4
jne 0x637710
mov edx, dword [esp + 0x74]
cmp dword [esi + 0x1c], edx
jne 0x637710
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x6c]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x78]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
push eax
add ecx, 0x50
call fcn.00633530
mov edi, eax
add esp, 0x14
test edi, edi
je 0x63770c
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x63776d
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
je 0x637769
mov eax, dword [eax + 0x30]
cmp edi, dword [eax]
je 0x637769
inc ecx
add eax, 4
cmp ecx, edx
jl 0x637700
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add dword [esp + 0x2c], 0x14
inc eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x38]
jl 0x637650
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x24]
test edx, 0x1000
jne 0x637bf2
test edx, 0x100
je 0x637835
mov edx, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
jmp 0x637872
cmp ecx, edx
jge 0x63770c
test bl, 0x82
je 0x6377ff
cmp word [esi + 0x20], 0
jl 0x6377ff
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.005eb470
mov ebx, eax
test ebx, ebx
jne 0x63779f
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x200
je 0x6377b2
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x6377b8
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x100
jne 0x6377db
test edi, edi
je 0x6377ce
test dword [edi + 4], 0x100
jne 0x6377d9
mov ecx, esi
call fcn.005eb470
test eax, eax
jne 0x6377ea
mov edx, edi
mov ecx, esi
call fcn.005eb470
test eax, eax
je 0x63770c
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x63781c
test eax, eax
jne 0x637832
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
or eax, dword [esp + 0x50]
or edi, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
jmp 0x637710
movzx ecx, byte [eax + 0x792808]
movzx eax, byte [esi + 0x792808]
sub ecx, eax
jne 0x63770c
inc edx
jmp 0x6377f0
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x637dca
test byte [ecx + 0x38], 4
jne 0x637dca
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x63786c
test edx, 0x8000
jne 0x63786c
mov dl, 1
jmp 0x63786e
xor dl, dl
mov dword [esp + 0x18], edx
xor cl, cl
movzx eax, ax
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], eax
test eax, eax
je 0x637bf2
mov dword [esp + 0x34], ecx
nop dword [eax + eax]
movzx edi, word [esi + 0x18]
mov bl, 1
mov byte [esp + 0x13], bl
cmp ecx, edi
jge 0x637916
movzx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x637916
mov ebx, dword [esi + 0x30]
mov eax, dword [esp + 0x80]
mov esi, dword [ebx + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x6378ea
test ecx, 0x180
movzx eax, dl
mov ecx, 0
cmove ecx, eax
mov dl, cl
mov dword [esp + 0x18], edx
jmp 0x637bd1
test cl, 1
mov ecx, dword [esp + 0x24]
je 0x637912
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, edi
jge 0x637912
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x637943
inc edx
add ecx, 4
cmp edx, edi
jl 0x637900
mov ecx, dword [esp + 0x24]
mov bl, byte [esp + 0x13]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x63794b
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], edx
mov bh, byte [ecx + eax]
mov eax, dword [esi + 0xc]
and bh, 1
mov byte [esp + 0x13], bh
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x637957
jmp 0x637950
mov ecx, dword [esp + 0x24]
xor bl, bl
jmp 0x637916
mov byte [esp + 0x13], 0
or edx, 0xffffffff
mov dword [esp + 0x2c], edx
cmp byte [esp + 0x18], 0
je 0x637984
test edx, edx
js 0x637984
cmp ecx, edi
jl 0x637984
mov eax, dword [esi + 0xc]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x18]
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xc], 0
cmove edx, esi
mov dword [esp + 0x18], edx
xor edi, edi
test bl, bl
je 0x637abd
mov esi, dword [esp + 0x40]
add esi, 4
mov dword [esp + 0x3c], esi
nop dword [eax]
cmp edi, dword [esp + 0x38]
jge 0x637abd
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 0x637aad
mov ecx, dword [esi]
test ecx, ecx
je 0x637a00
nop word [eax + eax]
mov eax, dword [ecx + 4]
test eax, 0x41000
je 0x637a00
test eax, 0x40000
je 0x6379f9
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 4]
jmp 0x6379fc
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x6379e0
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x2c]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp edx, 0xffffffff
jl 0x637a3a
cmp byte [ecx], 0xa4
jne 0x637aad
mov eax, dword [esp + 0x74]
cmp dword [ecx + 0x1c], eax
jne 0x637aad
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x637aad
jmp 0x637a5d
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
push dword [esp + 0x74]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.005f3dc0
add esp, 4
test eax, eax
jne 0x637aad
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
je 0x637aff
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.005eb470
test eax, eax
jne 0x637a82
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x637aea
test ecx, ecx
jne 0x637afc
mov bl, bh
test ecx, ecx
je 0x637aff
mov esi, dword [esp + 0x3c]
add esi, 0x14
inc edi
mov dword [esp + 0x3c], esi
test bl, bl
jne 0x6379a0
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x637ad0
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x637ad5
mov byte [esp + 0x18], 0
cmp byte [esp + 0x30], 0
je 0x637bf2
mov byte [esp + 0x18], 1
jmp 0x637bfd
movzx ecx, byte [ecx + 0x792808]
movzx eax, byte [eax + 0x792808]
sub ecx, eax
jne 0x637aa3
inc edx
jmp 0x637a94
cmp word [esp + 0x88], 0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
je 0x637b19
lea eax, [ebx + 1]
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x637b77
mov ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0xc]
and al, 1
cmp byte [esp + 0x23], 0
je 0x637b45
mov cl, byte [esp + 0x13]
xor cl, byte [esp + 0x22]
cmp cl, al
jne 0x637abd
jmp 0x637b77
mov dl, al
xor dl, byte [esp + 0x13]
mov byte [esp + 0x22], dl
je 0x637b72
mov eax, dword [esp + 0x48]
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 ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0xc], 2
je 0x637b98
movzx eax, word [esi + 0x18]
cmp ebx, eax
jne 0x637abd
or dword [esi + 0x24], 0x80000
cmp dword [esp + 0x2c], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x30]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
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
mov ecx, dword [esp + 0x24]
add dword [esp + 0x34], 0x14
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x60]
jge 0x637ad5
mov esi, dword [esp + 0x28]
jmp 0x6378a0
cmp byte [esp + 0x18], 0
je 0x637d22
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
or eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x7c]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
test ebx, ebx
je 0x637d2a
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
add ebx, 4
mov dword [esp + 0x30], ebx
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 + 0x1c]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x637d06
mov ebx, dword [ebx]
test ebx, ebx
je 0x637c7a
mov ecx, dword [esp + 0x44]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.00632c00
mov ecx, edx
jmp 0x637c8b
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
or eax, ecx
mov dword [esp + 0x34], ecx
jne 0x637ce2
mov dword [esp + 0xa0], fcn.005ed680
mov eax, 1
mov word [esp + 0xb0], ax
mov dword [esp + 0xa4], 0x5ed550
mov dword [esp + 0xb4], 0
test ebx, ebx
je 0x637ce2
mov edx, ebx
lea ecx, [esp + 0x9c]
call fcn.005e8720
cmp word [esp + 0xb0], 0
je 0x637d02
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x34]
or ecx, eax
jne 0x637d02
or dword [esp + 0x1c], esi
or dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x30], 0x14
inc eax
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x38]
jl 0x637c38
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
test dl, dl
jne 0x637580
jmp 0x637d50
cmp byte [esi + 0x1d], 0
je 0x637d50
test byte [ebp + 0xc], 0x80
je 0x637d65
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
cmp esi, dword [esp + 0x84]
jne 0x637d73
cmp edi, eax
jne 0x637d73
mov al, byte [esp + 0x98]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x18], 0
jne 0x637dc1
dec ebx
test ebx, ebx
jle 0x637dca
nop
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
mov eax, ecx
adc edx, 0xffffffff
and eax, esi
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x637dad
cmp esi, edx
je 0x637db8
dec ebx
test ebx, ebx
jle 0x637dca
mov esi, dword [esp + 0x1c]
jmp 0x637d80
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or al, 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret