Function at 0x100316a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x100f2040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x4f526720
push edi
mov dword [esp + 0x10], esi
mov dl, 0x20
mov dword [esp + 0x1c], 0x6c7f5055
xor ecx, ecx
mov dword [esp + 0x20], 0x4e69474f
mov byte [esp + 0x24], 0
nop
xor byte [esp + ecx + 0x19], dl
inc ecx
cmp ecx, 0xb
jae 0x100316f0
mov dl, byte [esp + 0x18]
jmp 0x100316e0
xorps xmm0, xmm0
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x19]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031720
sub ecx, edx
lea eax, [esp + 0x19]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi]
je 0x100317b4
test ebx, ebx
je 0x100317b4
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100317b4
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100317b0
cmp esi, dword [ebx + 0xc4]
jne 0x1003176f
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x1003179b
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10031781
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10031802
cmp esi, dword [ebx + 0xc4]
jne 0x100317a8
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10031762
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x58], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
add esp, 8
mov dword [esp + 0x50], 0x303d1c59
mov dl, 0x59
mov dword [esp + 0x54], 0x1d10062d
mov byte [esp + 0x58], 0
xor ecx, ecx
xor byte [esp + ecx + 0x51], dl
inc ecx
cmp ecx, 7
jae 0x10031808
mov dl, byte [esp + 0x50]
jmp 0x100317f2
mov esi, dword [esp + 0x10]
jmp 0x100317b6
xorps xmm0, xmm0
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x51]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031834
sub ecx, edx
lea eax, [esp + 0x51]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi + 0x58]
je 0x100318c9
test ebx, ebx
je 0x100318c9
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100318c9
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100318c5
cmp esi, dword [ebx + 0xc4]
jne 0x10031884
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x100318b0
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10031896
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10031917
cmp esi, dword [ebx + 0xc4]
jne 0x100318bd
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10031877
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x5c], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
add esp, 8
mov dword [esp + 0x50], 0x7d705114
mov dl, 0x14
mov dword [esp + 0x54], 0x43444b60
mov byte [esp + 0x58], 0
xor ecx, ecx
xor byte [esp + ecx + 0x51], dl
inc ecx
cmp ecx, 7
jae 0x1003191d
mov dl, byte [esp + 0x50]
jmp 0x10031907
mov esi, dword [esp + 0x10]
jmp 0x100318cb
xorps xmm0, xmm0
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x51]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031950
sub ecx, edx
lea eax, [esp + 0x51]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi + 0x58]
je 0x100319e5
test ebx, ebx
je 0x100319e5
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100319e5
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100319e1
cmp esi, dword [ebx + 0xc4]
jne 0x100319a0
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x100319cc
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x100319b2
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10031a30
cmp esi, dword [ebx + 0xc4]
jne 0x100319d9
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10031993
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x60], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
add esp, 8
mov dword [esp + 0x50], 0x554f593b
mov dl, 0x3b
mov dword [esp + 0x54], 0x505464
xor ecx, ecx
nop
xor byte [esp + ecx + 0x51], dl
inc ecx
cmp ecx, 6
jae 0x10031a36
mov dl, byte [esp + 0x50]
jmp 0x10031a20
mov esi, dword [esp + 0x10]
jmp 0x100319e7
xorps xmm0, xmm0
mov byte [esp + 0x57], 0
lea ecx, [esp + 0x51]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031a62
sub ecx, edx
lea eax, [esp + 0x51]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x30]
call fcn.1001d9e0
lea ecx, [esp + 0x30]
mov dword [esi + 0x64], eax
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
add esp, 8
mov dword [esp + 0x18], 0x68726406
mov dl, 6
mov dword [esp + 0x1c], 0x6b637459
mov dword [esp + 0x20], 0x63646b63
xor ecx, ecx
mov word [esp + 0x24], 0x74
nop dword [eax]
xor byte [esp + ecx + 0x19], dl
inc ecx
cmp ecx, 0xc
jae 0x10031ae0
mov dl, byte [esp + 0x18]
jmp 0x10031ad0
xorps xmm0, xmm0
mov byte [esp + 0x25], 0
lea ecx, [esp + 0x19]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031b10
sub ecx, edx
lea eax, [esp + 0x19]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi + 0x58]
je 0x10031ba9
test ebx, ebx
je 0x10031ba9
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10031ba9
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10031ba5
cmp esi, dword [ebx + 0xc4]
jne 0x10031b60
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x10031b90
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10031b72
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10031c42
cmp esi, dword [ebx + 0xc4]
jne 0x10031b9d
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10031b53
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x68], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
add esp, 8
cmp dword [0x100f649c], 0
je 0x10031c4b
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10031bf8
mov eax, dword [0x100f6454]
dec eax
cmp eax, 0x14
ja 0x10031bf8
push 1
mov edx, 0x100f6440
call fcn.1001db50
add esp, 4
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x10031c19
mov eax, dword [0x100f6470]
dec eax
cmp eax, 0x2f
ja 0x10031c19
push 0
mov edx, 0x100f645c
call fcn.1001db50
add esp, 4
mov esi, dword [esi + 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10031c3c
push 4
push esi
call edi
test eax, eax
jne 0x10031c3c
lea ecx, [esi + 0xd0]
mov dl, 3
call fcn.1001e280
mov esi, dword [esp + 0x10]
jmp 0x10031c51
mov esi, dword [esp + 0x10]
jmp 0x10031bab
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
movaps xmm0, xmmword [0x100e9450]
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0x13127d56
mov byte [esp + 0x2c], 0
nop dword [eax]
mov al, byte [esp + ecx + 0x19]
xor al, byte [esp + 0x18]
mov byte [esp + ecx + 0x19], al
inc ecx
cmp ecx, 0x13
jb 0x10031c70
xorps xmm0, xmm0
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x19]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031cb0
sub ecx, edx
lea eax, [esp + 0x19]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi]
je 0x10031d46
test ebx, ebx
je 0x10031d46
push 4
push ebx
call edi
test eax, eax
jne 0x10031d46
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10031d42
nop
cmp esi, dword [ebx + 0xc4]
jne 0x10031cfd
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x10031d2d
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10031d0f
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10031db1
cmp esi, dword [ebx + 0xc4]
jne 0x10031d3a
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10031cf0
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x6c], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
lea eax, [esi + 8]
mov dword [esp + 0x1c], 0x14
add esp, 8
mov dword [esp + 0x4c], eax
mov edi, 1
nop
push edi
mov dl, 0x1c
mov dword [esp + 0x1c], 0x6e796f1c
mov dword [esp + 0x20], 0x436e796a
xor ecx, ecx
mov word [esp + 0x24], 0x7839
mov byte [esp + 0x26], 0
xor byte [esp + ecx + 0x1d], dl
inc ecx
cmp ecx, 9
jae 0x10031db7
mov dl, byte [esp + 0x1c]
jmp 0x10031da1
mov esi, dword [esp + 0x10]
jmp 0x10031d48
sub esp, 0x1c
mov byte [esp + 0x42], 0
mov edx, esp
lea ecx, [esp + 0x39]
xorps xmm0, xmm0
lea ebx, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031de3
sub ecx, ebx
lea eax, [esp + 0x39]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [esp + 0x50]
push eax
call fcn.1000d650
mov ecx, dword [esi + 0x6c]
add esp, 0x24
mov edx, eax
call fcn.1001d9e0
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x30]
mov dword [ebx], eax
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
add ebx, 4
add esp, 8
inc edi
mov dword [esp + 0x4c], ebx
sub dword [esp + 0x14], 1
jne 0x10031d80
mov dl, 0x28
mov dword [esp + 0x50], 0x4d5a7828
mov dword [esp + 0x54], 0x455d4145
xor ecx, ecx
mov byte [esp + 0x58], 0
xor byte [esp + ecx + 0x51], dl
inc ecx
cmp ecx, 7
jae 0x10031e72
mov dl, byte [esp + 0x50]
jmp 0x10031e62
xorps xmm0, xmm0
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x51]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031ea0
sub ecx, edx
lea eax, [esp + 0x51]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi]
je 0x10031f3c
test ebx, ebx
je 0x10031f3c
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10031f3c
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10031f38
cmp esi, dword [ebx + 0xc4]
jne 0x10031ef3
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x10031f23
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10031f05
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100320b4
cmp esi, dword [ebx + 0xc4]
jne 0x10031f30
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10031ee6
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x70], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
movaps xmm0, xmmword [0x100e9180]
add esp, 8
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0x272620
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esp + ecx + 0x19]
xor al, byte [esp + 0x18]
mov byte [esp + ecx + 0x19], al
inc ecx
cmp ecx, 0x12
jb 0x10031f80
xorps xmm0, xmm0
mov byte [esp + 0x2b], 0
lea ecx, [esp + 0x19]
mov dword [esp + 0x30], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov dword [esp + 0x48], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031fc0
sub ecx, edx
lea eax, [esp + 0x19]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10003370
cmp dword [esp + 0x44], 0
mov ebx, dword [esi]
je 0x10032058
test ebx, ebx
je 0x10032058
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10032058
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10032054
cmp esi, dword [ebx + 0xc4]
jne 0x1003200f
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x1003203f
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10032021
mov ecx, dword [ecx]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
cmova eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100320bd
cmp esi, dword [ebx + 0xc4]
jne 0x1003204c
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10032002
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esi + 0x54], edi
call fcn.10002f50
mov eax, dword [esp + 0x30]
push 8
push eax
mov dword [esp + 0x38], 0
call fcn.100891b0
mov ebx, dword [esi + 0x54]
add esp, 8
mov ecx, dword [0xc20bac]
mov esi, ecx
mov eax, dword [0xc20bb0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
test ebx, ebx
je 0x100320c3
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100320c3
mov edi, dword [ebx + 0xe4]
sub edi, dword [ebx + 0xdc]
jmp 0x100320c5
mov esi, dword [esp + 0x10]
jmp 0x10031f3e
mov esi, dword [esp + 0x10]
jmp 0x1003205a
xor edi, edi
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x54]
test ebx, ebx
je 0x100320e9
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100320e9
push eax
sub esi, edi
mov ecx, ebx
push esi
call dword [0x100e6d4c]
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov esi, dword [edi + 0x58]
test esi, esi
je 0x10032120
push 4
push esi
call ebx
test eax, eax
jne 0x10032120
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call dword [0x100e6d48]
mov esi, dword [edi + 0x58]
test esi, esi
je 0x1003213e
push 4
push esi
call ebx
test eax, eax
jne 0x1003213e
mov eax, dword [esi + 0xe8]
sub eax, dword [esi + 0xe0]
jmp 0x10032140
xor eax, eax
mov ebx, dword [esp + 0x4c]
mov esi, dword [edi + 0x58]
sub ebx, eax
test esi, esi
je 0x10032167
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10032167
push ebx
push dword [esp + 0x54]
mov ecx, esi
call dword [0x100e6d4c]
mov esi, dword [edi + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
test esi, esi
je 0x1003219a
push 4
push esi
call ebx
test eax, eax
jne 0x1003219a
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call dword [0x100e6d48]
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x100321b4
push 4
push esi
call ebx
test eax, eax
jne 0x100321b4
push eax
push eax
mov ecx, esi
call dword [0x100e6d4c]
mov eax, dword [edi + 0x70]
test eax, eax
je 0x100321c0
push 4
push eax
call ebx
mov esi, dword [edi + 0x70]
test esi, esi
je 0x100321e8
push 4
push esi
call ebx
test eax, eax
jne 0x100321e8
push eax
mov eax, dword [esp + 0x18]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
sub eax, 0x201
push eax
call dword [0x100e6d4c]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10089100
mov esp, ebp
pop ebp
ret