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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1008487f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
movdqa xmm0, xmmword [0x10007f10]
lea eax, [esp + 0xe4]
push ebx
push esi
push edi
push dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x58], edx
push eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x1c], 0x8a61928c
push eax
mov esi, ecx
mov dword [esp + 0x34], 0x2a2b3b7b
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], ebx
movdqu xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.1000c63b
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x14], ebx
jmp 0x1003f913
mov dword [esp + 0x2c], ebx
xor edx, edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setle dl
add edx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffff1
je 0x1003f8f4
push 3
mov dword [esp + 0x2c], ebx
pop eax
jmp 0x1003f9b2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x14], ebx
jmp 0x1003f9a8
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
jl 0x1003f9a4
mov dword [esp + 0x24], 8
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], ebx
jl 0x1003f983
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
mov dword [eax + edx*4], ecx
dec dword [esp + 0x24]
jns 0x1003f958
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.10042d52
add esp, 0x10
dec dword [esp + 0x18]
push 3
pop eax
jns 0x1003f946
inc dword [esp + 0x14]
cmp dword [esp + 0x14], eax
jle 0x1003f930
inc dword [esp + 0x28]
cmp dword [esp + 0x28], eax
jle 0x1003f926
or dword [esp + 0x10c], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.1000c2fa
cmp dword [esi + 0x10], ebx
jne 0x1003f9d9
xor al, al
jmp 0x100401b7
push 3
pop edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xb8]
push 2
call fcn.1000c0a5
mov dword [esp + 0x10c], 1
mov dword [esp + 0x74], 7
mov dword [esp + 0x50], 0x1480
mov dword [esp + 0x34], 0xc8a81d5f
mov dword [esp + 0x18], ebx
jmp 0x1003fa2d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xb8]
mov dword [eax + ecx*4], 0x9a2f3817
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003fa17
mov dword [esp + 0x14], 0xffffffe3
jmp 0x1003fb98
mov dword [esp + 0x44], 0xfffffffa
mov dword [esp + 0x48], 0x9cc25fa
mov dword [esp + 0x98], 0x392ad588
mov dword [esp + 0x44], 0x950b
mov eax, dword [esp + 0x44]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], ebx
je 0x1003fb36
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xb8]
mov dword [eax], ecx
test ecx, ecx
jne 0x1003faae
mov eax, dword [esp + 0x44]
cmp eax, 0x29855eec
setge cl
xor eax, eax
cmp ecx, 1
setle al
cmp eax, 0xffffffff
je 0x1003faae
mov edx, ebx
jmp 0x1003fab1
xor edx, edx
inc edx
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x74]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x50]
add ecx, 0xfffffffe
cmp ecx, eax
mov eax, dword [esp + 0x44]
setle dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
cmp ecx, 0xffffffff
setge dl
xor eax, eax
cmp edx, 0x896e
setne al
mov dword [esp + 0x34], eax
cmp dword [esp + 0x34], ebx
je 0x1003fb36
push ebx
lea eax, [esp + 0x4c]
mov dword [esp + 0x98], 9
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10042586
add esp, 0x10
jmp 0x1003fb94
mov dword [esp + 0x88], 0xaf75d592
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1003fb57
push 0x89f
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov dword [esp + 0x34], ebx
jmp 0x1003fb8d
push 0x2a85
push ecx
lea eax, [esp + 0x90]
mov dword [esp + 0x94], 0x66ba0539
push eax
push ebx
lea eax, [esp + 0xa8]
push eax
push ecx
push ecx
call fcn.1003eeb3
add esp, 0x1c
inc dword [esp + 0x34]
cmp dword [esp + 0x34], 1
jle 0x1003fb5d
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jge 0x1003fa41
or dword [esp + 0x10c], 0xffffffff
lea ecx, [esp + 0xb8]
call fcn.1000c2fa
mov eax, dword [esp + 0x54]
mov dword [eax], ebx
cmp dword [esi + 0x14], 0x10
jb 0x1003fbc7
mov ecx, dword [esi]
jmp 0x1003fbc9
mov ecx, esi
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x58], ecx
jb 0x1003fbd7
mov edx, dword [esi]
jmp 0x1003fbd9
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, eax
je 0x100400a6
mov al, byte [ecx]
cmp al, 0x30
jl 0x1003fc14
cmp al, 0x39
jg 0x1003fc14
lea eax, [esp + 0x58]
push eax
push ebx
lea eax, [esp + 0x5c]
push eax
push 0x1efc
push 0x60a4
call fcn.10042116
mov ecx, dword [esp + 0x6c]
add esp, 0x14
inc ecx
jmp 0x1003fbc9
push dword [esp + 0x8c]
movdqa xmm0, xmmword [0x10007f60]
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x34], 0x97f6af11
push eax
mov dword [esp + 0x30], 0x2e1dfe00
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], 0x68cd5467
mov dword [esp + 0x2c], 0x3493876a
push ebx
movdqu xmmword [esp + 0x100], xmm0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
call fcn.1000c63b
mov dword [esp + 0x10c], 2
mov dword [esp + 0x2c], 0x16
cmp dword [esp + 0x2c], 1
jne 0x1003fe65
push 7
pop esi
mov dword [esp + 0x4c], 0xfffffffe
lea ecx, [esp + 0xd4]
push 2
call fcn.1000c0a5
mov byte [esp + 0x10c], 3
mov dword [esp + 0x18], 0xd83d7839
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0x6c0b333e
mov dword [esp + 0x20], 0xa08376fb
mov dword [esp + 0x20], ebx
mov dword [esp + 0x20], 8
mov dword [esp + 0x20], 0x68993dd6
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
jmp 0x1003fd0d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xd4]
mov dword [eax + ecx*4], 0x6721
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003fcf7
mov dword [esp + 0x4c], 0xd
jmp 0x1003fe33
mov dword [esp + 0x18], 0x2fbb6bc3
mov dword [esp + 0x40], 0x3303
mov dword [esp + 0x18], ebx
jmp 0x1003fd46
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xa0], esi
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1003fd37
mov dword [esp + 0xa0], 1
cmp dword [esp + 0xa0], ebx
jl 0x1003fe27
lea eax, [esp + 0x40]
push eax
push ecx
push 0x79bd
push 1
push 0x4d30
push ecx
push ecx
call fcn.1003eeb3
add esp, 0x1c
mov dword [esp + 0x24], ebx
jmp 0x1003fe0f
mov dword [esp + 0x18], ebx
jmp 0x1003fdb7
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1003fdb3
push 0xb4b
push 0x75d
push 0x3025
push ebx
call fcn.100403e3
add esp, 0x10
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 1
jle 0x1003fd90
mov dword [esp + 0x14], ebx
jmp 0x1003fe04
mov dword [esp + 0x40], ebx
jmp 0x1003fdf9
lea eax, [esp + 0x3b]
mov byte [esp + 0x3b], bl
push eax
push 0x5252
push 0x1eb6
push 0x1626
push ebx
push 0x726d
push 0x27a2
call fcn.10041c34
add esp, 0x1c
inc dword [esp + 0x40]
cmp dword [esp + 0x40], 1
jle 0x1003fdca
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jle 0x1003fdc4
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 1
jle 0x1003fd8a
dec dword [esp + 0xa0]
jns 0x1003fd65
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
inc dword [esp + 0x4c]
cmp dword [esp + 0x4c], 0x1c
jge 0x1003fd21
dec dword [esp + 0x20]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x10c], 2
call fcn.1000c2fa
dec dword [esp + 0x2c]
cmp dword [esp + 0x2c], 1
je 0x1003fc9f
or dword [esp + 0x10c], 0xffffffff
lea ecx, [esp + 0xac]
call fcn.1000c2fa
push 0x5a5
push 0xc74
lea eax, [esp + 0x5c]
push eax
push 0x691e
push ebx
call fcn.1004ae09
add esp, 0x14
mov dword [esp + 0x1c], 0x43cdf98a
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 0x8deb256c
mov dword [esp + 0x24], 0x80eb60f9
push ebx
push eax
push 0x2588
call fcn.10043805
add esp, 0xc
cmp dword [esp + 0x1c], ebx
je 0x1003feda
cmp dword [esp + 0x1c], 1
jg 0x1003fed2
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp eax, 0x2aafa0b2
setg cl
cmp ecx, 0x9236
jle 0x1003ff68
cmp dword [esp + 0x30], ebx
jne 0x1003ff68
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1003f9d2
push 0x59b1
push 0x1872
push 0x766c
push ebx
push 0x216e
push 0x2f50
push 0x3577
push 0x201d
push 0x2aa8
push 0x191f
call fcn.1004334d
add esp, 0x28
jmp 0x1003f9d2
push 4
pop esi
push esi
lea ecx, [esp + 0xc8]
call fcn.1000c0a5
push 0x62ea
lea eax, [esp + 0xc8]
mov dword [esp + 0x110], esi
push eax
push 0xeda
lea eax, [esp + 0xdc]
mov dword [esp + 0x48], 0xfffffff6
push eax
push 0x6e42
mov dword [esp + 0x34], 0xffffffff
push ebx
call fcn.100436ac
mov dword [esp + 0x3c], ebx
add esp, 0x18
cmp dword [esp + 0x24], 3
jg 0x10040095
push 0xfffffffffffffff7
pop esi
mov dword [esp + 0x9c], 0x43b57941
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebx
jmp 0x1004007b
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], 0xaec7f517
push eax
lea eax, [esp + 0x34]
push eax
push 0x6533
push 0x2f7
push 0x4d11
push 0x36ba
push ebx
call fcn.1004027a
add esp, 0x1c
mov dword [esp + 0x30], 3
cmp dword [esp + 0x30], ebx
jl 0x10040077
mov dword [esp + 0x5c], 0xfffffffb
mov dword [esp + 0x3c], ebx
jmp 0x1004006a
mov dword [esp + 0x20], 0x6128b293
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], 0x2e9d3b0
push ebx
push eax
mov dword [esp + 0x28], ebx
lea eax, [esp + 0xa4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x28], 0x5ff9b037
inc dword [esp + 0x64]
push eax
call fcn.100432e8
add esp, 0xc
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], 3
jle 0x1004002c
dec dword [esp + 0x30]
jns 0x1004001e
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jle 0x1003ffe1
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
jle 0x1003ffc9
lea ecx, [esp + 0xc4]
call fcn.1000c2fa
jmp 0x1003f9d2
xor edx, edx
inc edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x14], 0xfa017779
mov dword [esp + 0x20], ebx
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x100400db
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
xor edx, edx
inc edx
cmp dword [esp + 0x64], ebx
jne 0x100401ad
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x64], ebx
jne 0x100400fe
mov eax, dword [esp + 0x68]
mov ecx, ebx
imul eax, dword [esp + 0x64]
test eax, eax
je 0x10040100
mov ecx, edx
mov eax, dword [esp + 0x64]
sub ecx, eax
mov eax, dword [esp + 0x64]
sub ecx, 0x1fc9a57b
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx
test eax, eax
je 0x10040124
mov eax, edx
cmp dword [esp + 0x60], ebx
jne 0x10040126
mov eax, ebx
cmp eax, dword [esp + 0x64]
je 0x10040134
mov eax, ebx
cmp dword [esp + 0x64], ebx
je 0x10040136
mov eax, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0x6178
jne 0x100401ad
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], al
je 0x10040162
push ebx
call fcn.100420ef
pop ecx
mov dword [esp + 0x14], 0xffffffe9
jmp 0x100401a4
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 0x4ddb84c6
push eax
push 0x6873
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0xc869b7d6
push ebx
push eax
call fcn.10040396
add esp, 0x10
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x12
jne 0x1004016c
jmp 0x100401b5
mov dword [esp + 0x20], edi
inc dword [esp + 0x20]
mov al, 1
mov ecx, dword [esp + 0x104]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret