Function at 0x1003f210
Capabilities:
Create process on windows
Encode data using xor
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100665f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2d8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x25c], 0xf6
movsx eax, word [0x1007f1a8]
mov dword [ebp - 0x60], eax
movzx ecx, byte [0x1007f026]
mov dword [ebp - 0x64], ecx
movzx dx, byte [0x1007f026]
mov word [ebp - 0x28], dx
mov ax, word [0x1007f16c]
mov word [ebp - 0x20], ax
mov cl, byte [0x1007f120]
mov byte [ebp - 0x12], cl
mov dx, word [0x1007f16c]
mov word [ebp - 0x24], dx
mov byte [ebp - 0x11], 0x15
mov eax, 0xe5dc
mov word [ebp - 0x34], ax
mov cx, word [0x1007f1b8]
mov byte [ebp - 0x14], cl
mov edx, dword [0x1007f178]
mov eax, dword [0x1007f17c]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
mov ecx, dword [0x1007f1bc]
xor edx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [0x1007f138]
mov ecx, dword [0x1007f13c]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov edx, dword [0x1007f120]
mov dword [ebp - 0x68], edx
mov eax, 0x8c72e
mov dword [ebp - 0x70], 0xa6fdf8f6
mov dword [ebp - 0x6c], eax
movzx eax, byte [0x1007f04e]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov ecx, 0x357
mov word [ebp - 0x1c], cx
mov dx, word [0x1007f188]
mov word [ebp - 0x78], dx
mov dword [ebp - 0x38], 0x3945a32e
mov byte [ebp - 0x15], 0x7c
mov dword [ebp - 0x88], 0xad2a
xor eax, eax
mov dword [ebp - 0x44], 0x6a5d
mov dword [ebp - 0x40], eax
movzx ecx, byte [0x1007f026]
mov dword [ebp - 0x48], ecx
movsx edx, word [0x1007f148]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 0x13], 0x58
mov eax, 0xffffaf70
mov word [ebp - 0x158], ax
mov dword [ebp - 0x220], 0xf2
mov ecx, dword [0x1007f154]
mov dword [ebp - 0x224], ecx
xor edx, edx
mov dword [ebp - 0x264], 0x4f6fc784
mov dword [ebp - 0x260], edx
mov ax, word [0x1007f14c]
mov word [ebp - 0x13c], ax
mov ecx, dword [0x1007f160]
mov edx, dword [0x1007f164]
mov dword [ebp - 0x228], edx
mov word [ebp - 0x134], cx
mov eax, 0xffffccea
mov word [ebp - 0x138], ax
mov dword [ebp - 0x22c], 0xf70b147f
mov byte [ebp - 0x71], 9
mov dword [ebp - 0x230], 0x61b53d68
xor ecx, ecx
mov dword [ebp - 0x26c], 0x3c
mov dword [ebp - 0x268], ecx
mov edx, 0xe4
mov word [ebp - 0x1c], dx
mov eax, dword [0x1007f154]
sub eax, 0x18172dc9
mov byte [ebp - 0x13], al
mov ecx, dword [0x1007fc38]
mov dword [ebp - 0x8c], ecx
mov edx, 2
imul eax, edx, 0x29
movzx eax, word [eax + 0x10369060]
cdq
mov dword [0x1007f178], eax
mov dword [0x1007f17c], edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1a5
mov dword [ebp - 0x140], ecx
mov ecx, 9
mov esi, str.MATCHING_SDB_CAPAB
lea edi, [ebp - 0x2a4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x8c]
add eax, 0x4d7
mov dword [ebp - 0x90], eax
movzx ecx, word [0x1007f168]
push ecx
call dword [sym.imp.USER32.dll_GetLastActivePopup]
xor edx, edx
mov dword [0x1007f188], eax
mov dword [0x1007f18c], edx
movzx eax, byte [ebp - 0x14]
cmp dword [0x1007f140], eax
jg 0x1003f488
mov dword [ebp - 0x104], 1
jmp 0x1003f492
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x64], 0x2496bf38
je 0x1003f4a7
mov dword [ebp - 0x108], 1
jmp 0x1003f4b1
mov dword [ebp - 0x108], 0
movzx ecx, word [0x1007f1c8]
mov edx, dword [ebp - 0x104]
add edx, dword [ebp - 0x108]
not edx
add ecx, edx
je 0x1003f515
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x30]
not edx
mov eax, dword [ebp - 0x58]
sub eax, edx
not eax
mov word [0x1007f1a8], ax
movsx ecx, word [0x1007f148]
test ecx, ecx
je 0x1003f501
mov edx, dword [0x1007f154]
mov dword [ebp - 0x9c], edx
jmp 0x1003f50a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x48], ecx
jmp 0x1003f584
mov edx, dword [0x1007f198]
mov eax, dword [0x1007f19c]
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x160]
or ecx, dword [ebp - 0x15c]
jne 0x1003f545
mov edx, 1
mov word [ebp - 0x5a], dx
jmp 0x1003f54b
xor eax, eax
mov word [ebp - 0x5a], ax
mov cx, word [ebp - 0x5a]
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 0x38]
add edx, dword [0x1007f158]
xor eax, eax
push eax
push edx
mov ecx, dword [0x1007f1b4]
push ecx
mov edx, dword [0x1007f1b0]
push edx
call fcn.1005a1b0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, 8
mov word [0x1007f15c], ax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x4df
mov dword [ebp - 0x144], ecx
mov dl, byte [0x1007f1c0]
mov byte [0x1007f027], dl
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x234], ecx
add eax, 0x67809cae
mov byte [ebp - 0x12], al
mov dword [ebp - 0x2e8], 0x44
push 0x40
push 0
lea edx, [ebp - 0x2e4]
push edx
call fcn.1005b550
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [0x1007f15c], ax
movzx eax, byte [ebp - 0x11]
cdq
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x164]
cmp eax, dword [0x1007f124]
jb 0x1003f61a
ja 0x1003f60e
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [0x1007f120]
jb 0x1003f61a
mov dword [ebp - 0xa0], 1
jmp 0x1003f624
mov dword [ebp - 0xa0], 0
movzx edx, byte [ebp - 0x11]
cmp edx, 0xf
jl 0x1003f639
mov dword [ebp - 0xa4], 1
jmp 0x1003f643
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xa4]
jne 0x1003f88e
movsx eax, byte [ebp - 0x12]
cdq
mov ecx, dword [0x1007f130]
mov esi, dword [0x1007f134]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], esi
mov edx, dword [ebp - 0x16c]
cmp edx, dword [ebp - 0x174]
jg 0x1003f6a8
jl 0x1003f69c
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x178]
ja 0x1003f6a8
mov dword [ebp - 0xa8], 1
jmp 0x1003f6b2
mov dword [ebp - 0xa8], 0
movzx ecx, word [0x1007f16c]
cmp dword [ebp - 0x3c], ecx
jge 0x1003f6ca
mov dword [ebp - 0xac], 1
jmp 0x1003f6d4
mov dword [ebp - 0xac], 0
mov edx, dword [ebp - 0xa8]
cmp edx, dword [ebp - 0xac]
jle 0x1003f6ee
mov dword [ebp - 0xb0], 1
jmp 0x1003f6f8
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
not eax
test eax, eax
je 0x1003f73d
mov ecx, dword [0x1007f138]
mov edx, dword [0x1007f13c]
mov dword [ebp - 0x238], edx
add ecx, 0xe4b210f1
mov word [0x1007f1b8], cx
mov byte [ebp - 0x13], 0x9a
mov al, byte [ebp - 0x50]
mov ecx, 1
imul edx, ecx, 7
mov byte [edx + 0x10322c20], al
jmp 0x1003f88e
cmp dword [ebp - 0x38], 0
je 0x1003f7db
movzx eax, word [0x1007f128]
mov ecx, dword [ebp - 0x3c]
not ecx
add eax, ecx
jne 0x1003f763
mov dword [ebp - 0xb4], 1
jmp 0x1003f76d
mov dword [ebp - 0xb4], 0
movsx eax, word [0x1007f1a8]
movzx edx, byte [ebp - 0x15]
sub eax, edx
movzx ecx, byte [0x1007f027]
mov edx, dword [ebp - 0x48]
sub edx, ecx
add eax, edx
movsx ecx, word [ebp - 0x1c]
xor ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0xb4]
sub edx, ecx
sub eax, edx
cdq
mov dword [0x1007f1b0], eax
mov dword [0x1007f1b4], edx
movzx eax, word [ebp - 0x24]
imul eax, eax, 0xaf
cdq
or eax, dword [ebp - 0x50]
or edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
movzx ecx, byte [ebp - 0x15]
sub ecx, 0x505d60a0
movsx edx, word [0x1007f148]
sub edx, ecx
mov word [0x1007f148], dx
jmp 0x1003f88e
cmp dword [ebp - 0x38], 0
je 0x1003f7f5
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x1003f7f5
mov dword [ebp - 0xbc], 1
jmp 0x1003f7ff
mov dword [ebp - 0xbc], 0
movsx eax, word [ebp - 0x20]
cdq
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
cmp dword [ebp - 0x180], 0xab72bec5
jne 0x1003f828
cmp dword [ebp - 0x17c], 0x74023
je 0x1003f834
mov dword [ebp - 0xb8], 1
jmp 0x1003f83e
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xb8]
not ecx
cmp dword [ebp - 0xbc], ecx
jle 0x1003f88e
movsx edx, word [ebp - 0x20]
add edx, 0xa0
mov word [ebp - 0x34], dx
mov eax, dword [0x1007f1bc]
mov ecx, dword [0x1007f190]
mov edx, dword [0x1007f194]
mov dword [ebp - 0x23c], edx
sub eax, ecx
mov dword [0x1007f1bc], eax
mov eax, dword [ebp - 0x38]
add eax, 0x1482
cdq
mov dword [0x1007f190], eax
mov dword [0x1007f194], edx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2e8]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push str.cmd.exe__C_echo_HiddenProcess
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x148], eax
jmp 0x1003f8d5
jmp 0x1003f8df
jmp 0x1003f8ec
mov edx, dword [ebp - 0x140]
add edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x90]
sub eax, edx
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x90]
lea ecx, [ecx + edx - 0x25b]
cmp eax, ecx
je 0x100406f5
mov dword [ebp - 0x7c], 0
jmp 0x1003f92d
mov edx, dword [ebp - 0x7c]
add edx, 2
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0x271
jge 0x1003fab8
call dword [sym.imp.USER32.dll_IsWow64Message]
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
movsx edx, word [ebp - 0x1c]
movzx eax, word [ebp - 0x28]
cmp edx, eax
jge 0x1003faa1
mov dword [ebp - 0x84], 0x41
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
jne 0x1003f97e
xor edx, edx
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x114], edx
jmp 0x1003f989
xorps xmm0, xmm0
movlpd qword [ebp - 0x118], xmm0
mov eax, dword [0x1007f120]
not eax
mov ecx, dword [0x1007f124]
not ecx
mov edx, dword [ebp - 0x118]
sub edx, eax
mov eax, dword [ebp - 0x114]
sbb eax, ecx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x188]
or ecx, dword [ebp - 0x184]
jne 0x1003f9ce
mov dword [ebp - 0xc0], 1
jmp 0x1003f9d8
mov dword [ebp - 0xc0], 0
movzx edx, word [0x1007f14c]
add edx, dword [ebp - 0xc0]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x88]
not eax
cdq
mov ecx, eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x240], eax
sub ecx, edx
movzx eax, word [0x1007f1c8]
cdq
mov edx, dword [0x1007f1d0]
mov esi, dword [0x1007f1d4]
mov dword [ebp - 0x244], esi
sub edx, eax
add ecx, edx
mov word [ebp - 0x24], cx
movzx eax, word [0x1007f16c]
cdq
mov ecx, dword [0x1007f1d0]
mov esi, dword [0x1007f1d4]
add ecx, eax
adc esi, edx
mov dword [0x1007f1d0], ecx
mov dword [0x1007f1d4], esi
mov edx, 4
shl edx, 5
movsx eax, word [ebp - 0x20]
and eax, dword [edx + 0x103a81b0]
mov word [ebp - 0x20], ax
movsx ecx, word [ebp - 0x20]
not ecx
add ecx, dword [0x1007f154]
movzx edx, word [ebp - 0x24]
imul ecx, edx
mov eax, dword [0x1007f154]
mov edx, dword [0x1007f188]
xor edx, dword [ebp - 0x50]
add eax, edx
add ecx, eax
mov word [ebp - 0x24], cx
mov eax, dword [ebp - 0x84]
add eax, 1
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x4f6
jl 0x1003fa23
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
add ecx, 1
adc edx, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
jmp 0x1003f924
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x54]
je 0x1003fba1
push 0
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
mov dword [ebp - 0x248], edx
movzx eax, cx
push eax
push 0x1e
push 0xa5
push 0xf9
call fcn.10036ef0
add esp, 0x14
mov word [0x1007f128], ax
movzx ecx, word [0x1007f128]
test ecx, ecx
jl 0x1003fb9f
mov eax, dword [0x1007f140]
cdq
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x18c]
jb 0x1003fb59
ja 0x1003fb2f
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x190]
jb 0x1003fb59
movzx eax, byte [ebp - 0x11]
sub eax, 0x1b
cdq
mov ecx, dword [0x1007f138]
mov esi, dword [0x1007f13c]
push edx
push eax
push esi
push ecx
call fcn.1005a1b0
mov dword [0x1007f138], eax
mov dword [0x1007f13c], edx
jmp 0x1003fb9f
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x54]
sbb ecx, edx
mov edx, dword [ebp - 0x58]
sub edx, eax
mov eax, dword [ebp - 0x54]
sbb eax, ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
movsx ecx, byte [ebp - 0x12]
not ecx
mov dword [0x1007f158], ecx
mov edx, 4
imul eax, edx, 0x4dc
mov cx, word [eax + 0x10363cb0]
mov word [ebp - 0x28], cx
jmp 0x1003fbf8
mov edx, dword [ebp - 0x68]
not edx
test edx, edx
je 0x1003fbf8
mov eax, dword [0x1007f138]
mov ecx, dword [0x1007f13c]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x198]
or edx, dword [ebp - 0x194]
je 0x1003fbf8
mov eax, dword [0x1007fc38]
mov dword [0x1007f144], eax
movsx eax, byte [ebp - 0x12]
cdq
mov ecx, dword [0x1007f160]
mov edx, dword [0x1007f164]
mov dword [ebp - 0x24c], edx
sub ecx, eax
mov byte [0x1007f026], cl
cmp dword [ebp - 0x148], 0
je 0x100406f5
mov eax, dword [ebp - 0x38]
cdq
xor eax, dword [0x1007f188]
xor edx, dword [0x1007f18c]
mov dword [0x1007f188], eax
mov dword [0x1007f18c], edx
mov eax, dword [0x1007fc38]
xor ecx, ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
push 0
movzx edx, byte [0x1007f1bc]
push edx
call fcn.10035170
add esp, 8
movsx eax, al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1003fd1c
cmp dword [str.C], 0
je 0x1003fc72
mov ecx, dword [ebp - 0x70]
or ecx, dword [ebp - 0x6c]
jne 0x1003fc72
mov dword [ebp - 0xc4], 0
jmp 0x1003fc7c
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0xc4], 1
jne 0x1003fc91
mov dword [ebp - 0xc8], 1
jmp 0x1003fc9b
mov dword [ebp - 0xc8], 0
mov edx, dword [ebp - 0xc8]
not edx
test edx, edx
je 0x1003fcf9
mov eax, dword [0x1007f198]
mov ecx, dword [0x1007f19c]
mov edx, dword [0x1007f17c]
push edx
mov edx, dword [0x1007f178]
push edx
push ecx
push eax
call fcn.1005a1b0
mov ecx, dword [0x1007f198]
mov esi, dword [0x1007f19c]
add ecx, eax
adc esi, edx
mov dword [0x1007f198], ecx
mov dword [0x1007f19c], esi
mov edx, 4
imul eax, edx, 0x4ea1
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x102b9e20], ecx
jmp 0x1003fd1a
movzx edx, word [0x1007f1c8]
sub edx, dword [0x1007f144]
mov word [0x1007f1c8], dx
movsx eax, word [ebp - 0x78]
cdq
sub eax, 0x1878c0a5
mov byte [ebp - 0x13], al
jmp 0x1003fd67
mov eax, dword [0x1007f1bc]
cmp eax, dword [0x1007f180]
ja 0x1003fd35
mov dword [ebp - 0xcc], 1
jmp 0x1003fd3f
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0xcc], ecx
jne 0x1003fd67
mov edx, dword [0x1007fc38]
mov dword [0x1007f1a4], edx
xor eax, eax
mov dword [0x1007f1b0], 0xee1
mov dword [0x1007f1b4], eax
mov ecx, dword [0x1007fc38]
mov dword [ebp - 0x80], ecx
movzx eax, word [ebp - 0x28]
cdq
mov ecx, dword [0x1007f138]
mov esi, dword [0x1007f13c]
sub ecx, eax
sbb esi, edx
mov edx, dword [0x1007f138]
mov eax, dword [0x1007f13c]
sub edx, ecx
sbb eax, esi
mov dword [0x1007f138], edx
mov dword [0x1007f13c], eax
movzx eax, byte [ebp - 0x15]
cdq
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
mov dword [ebp - 0x250], edx
sub eax, ecx
mov byte [ebp - 0x15], al
movzx eax, word [0x1007f16c]
cdq
mov ecx, dword [0x1007f190]
mov esi, dword [0x1007f194]
push esi
push ecx
push edx
push eax
call fcn.1005a1b0
mov ecx, eax
mov esi, edx
movzx eax, byte [ebp - 0x11]
cdq
sub eax, dword [ebp - 0x70]
sbb edx, dword [ebp - 0x6c]
sub ecx, eax
sbb esi, edx
movsx eax, word [ebp - 0x20]
movsx edx, byte [ebp - 0x12]
not edx
and edx, 0x5eed58b6
sub eax, edx
cdq
or ecx, eax
or esi, edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x80]
add eax, 0x4ad
mov dword [ebp - 0x154], eax
movsx eax, byte [ebp - 0x13]
cdq
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], edx
mov ecx, dword [ebp - 0x19c]
cmp ecx, dword [0x1007f17c]
jl 0x1003fe51
jg 0x1003fe45
mov edx, dword [ebp - 0x1a0]
cmp edx, dword [0x1007f178]
jbe 0x1003fe51
mov dword [ebp - 0xd0], 1
jmp 0x1003fe5b
mov dword [ebp - 0xd0], 0
movsx eax, byte [ebp - 0x13]
cmp eax, 0x61
jle 0x1003fe70
mov dword [ebp - 0xd4], 1
jmp 0x1003fe7a
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xd4]
jne 0x1003ffde
movzx eax, byte [ebp - 0x11]
cdq
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x1a4]
jb 0x1003ffd9
ja 0x1003febd
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1a8]
jbe 0x1003ffd9
mov ecx, dword [0x1007f198]
mov edx, dword [0x1007f19c]
add ecx, 0x3b12
adc edx, 0
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1b0]
or eax, dword [ebp - 0x1ac]
jne 0x1003ff94
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x2a7d0a88
mov dword [0x1007f144], ecx
movzx edx, byte [0x1007f04e]
not edx
mov eax, dword [ebp - 0x3c]
imul eax, edx
test eax, eax
jne 0x1003ff1e
mov dword [ebp - 0xd8], 1
jmp 0x1003ff28
mov dword [ebp - 0xd8], 0
movsx eax, word [0x1007f148]
not eax
cdq
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
push esi
push ecx
push edx
push eax
call fcn.1005a1b0
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], edx
mov edx, dword [ebp - 0x1b8]
or edx, dword [ebp - 0x1b4]
jne 0x1003ff67
mov dword [ebp - 0xfc], 1
jmp 0x1003ff71
mov dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xfc]
cdq
mov dword [0x1007f160], eax
mov dword [0x1007f164], edx
mov eax, dword [0x1007fc38]
mov dword [ebp - 0x38], eax
jmp 0x1003ffd9
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x1003ffd9
movsx edx, word [0x1007f15c]
sar edx, 2
mov dword [str.C], edx
mov eax, dword [0x1007f120]
sub eax, 0x8647
mov ecx, dword [0x1007f124]
sbb ecx, 0
mov edx, dword [0x1007f120]
sub edx, eax
mov eax, dword [0x1007f124]
sbb eax, ecx
mov dword [0x1007f120], edx
mov dword [0x1007f124], eax
jmp 0x100400eb
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
jne 0x1003fffe
movzx edx, word [0x1007f14c]
test edx, edx
jne 0x1003fffe
xorps xmm0, xmm0
movlpd qword [ebp - 0x120], xmm0
jmp 0x10040010
xor eax, eax
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x120]
add ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x11c]
adc edx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x1c0]
or eax, dword [ebp - 0x1bc]
je 0x100400a6
mov cx, word [0x1007fc38]
mov word [0x1007f1b8], cx
movsx edx, word [0x1007f1a8]
test edx, edx
je 0x10040069
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
jmp 0x1004007d
movzx eax, word [0x1007f128]
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
movsx eax, word [ebp - 0x1c]
cdq
mov ecx, eax
add ecx, dword [ebp - 0x50]
movsx eax, word [ebp - 0x1c]
cdq
sub eax, ecx
mov word [ebp - 0x1c], ax
jmp 0x100400eb
movsx edx, word [ebp - 0x20]
movzx eax, byte [ebp - 0x14]
cmp edx, eax
jne 0x100400eb
cmp dword [0x1007f180], 0
je 0x100400c9
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xe0], ecx
jmp 0x100400d6
movzx edx, word [0x1007f16c]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x64]
xor ecx, dword [ebp - 0x88]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x80]
add edx, 0x36c
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
mov eax, dword [0x1007f1c4]
cmp eax, dword [ebp - 0x1c4]
jl 0x1004026d
jg 0x1004012f
mov ecx, dword [0x1007f1c0]
cmp ecx, dword [ebp - 0x1c8]
jbe 0x1004026d
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x48]
xor eax, eax
mov ecx, dword [0x1007f190]
mov esi, dword [0x1007f194]
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d4], esi
mov edx, dword [ebp - 0x1d0]
cmp edx, dword [ebp - 0x1d8]
jne 0x10040177
mov eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x1d4]
je 0x100401c5
movzx ecx, word [0x1007f1a0]
cmp ecx, dword [ebp - 0x3c]
jne 0x1004018f
mov dword [ebp - 0xe4], 1
jmp 0x10040199
mov dword [ebp - 0xe4], 0
mov edx, dword [ebp - 0x30]
or edx, dword [ebp - 0x2c]
jne 0x100401ad
mov dword [ebp - 0xe8], 1
jmp 0x100401b7
mov dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe8]
jge 0x10040200
mov ecx, 8
imul ecx, ecx, 0x5a52
movsx eax, word [ebp - 0x1c]
cdq
sub eax, dword [ecx + 0x10172690]
mov word [ebp - 0x1c], ax
mov edx, dword [0x1007f1a4]
sar edx, 7
mov dword [0x1007f1bc], edx
movsx eax, word [0x1007f1a8]
imul ecx, eax, 0xd62c
mov byte [ebp - 0x12], cl
jmp 0x10040268
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1e0]
or ecx, dword [ebp - 0x1dc]
jne 0x10040229
cmp dword [0x1007f1bc], 0
jne 0x10040268
movzx eax, byte [ebp - 0x11]
cdq
or eax, dword [0x1007f1b0]
add eax, dword [ebp - 0x30]
mov word [0x1007f16c], ax
imul edx, dword [0x1007f154], 0x8f
xor eax, eax
mov dword [0x1007f1c0], edx
mov dword [0x1007f1c4], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0xa691b229
movzx eax, word [ebp - 0x24]
cdq
sub eax, ecx
mov word [ebp - 0x24], ax
jmp 0x1004035b
movsx edx, word [ebp - 0x1c]
cmp edx, 0x507b011c
jg 0x10040285
mov dword [ebp - 0xec], 1
jmp 0x1004028f
mov dword [ebp - 0xec], 0
movzx eax, word [ebp - 0x24]
test eax, eax
jne 0x100402ab
xor ecx, ecx
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], ecx
jmp 0x100402b6
xorps xmm0, xmm0
movlpd qword [ebp - 0x128], xmm0
mov edx, dword [0x1007f130]
mov eax, dword [0x1007f134]
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
cmp ecx, dword [ebp - 0x124]
jl 0x100402f7
jg 0x100402eb
mov edx, dword [ebp - 0x1e8]
cmp edx, dword [ebp - 0x128]
jb 0x100402f7
mov dword [ebp - 0xf0], 1
jmp 0x10040301
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf0]
jne 0x1004035b
mov ecx, 4
imul edx, ecx, 0xc
mov ax, word [edx + 0x1024e158]
mov word [0x1007f148], ax
movsx ecx, word [ebp - 0x20]
sub ecx, 0x1456301c
jne 0x1004033c
mov dword [ebp - 0xdc], 1
jmp 0x10040346
mov dword [ebp - 0xdc], 0
movzx eax, word [ebp - 0x34]
not eax
add eax, dword [ebp - 0xdc]
not eax
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x80]
add edx, 0x4c1
mov dword [ebp - 0x14c], edx
mov dword [ebp - 4], 0
mov eax, dword [0x1007fc38]
xor ecx, ecx
mov dword [0x1007f198], eax
mov dword [0x1007f19c], ecx
mov edx, dword [ebp - 0x50]
sub edx, 0xf462
mov byte [0x1007f04e], dl
mov eax, dword [ebp - 0x68]
not eax
or eax, 4
sub eax, 0x3a8c2fe8
jne 0x100403b5
xor ecx, ecx
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], ecx
jmp 0x100403c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x130], xmm0
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x12c]
mov dword [0x1007f1c0], edx
mov dword [0x1007f1c4], eax
jmp 0x100403fd
mov dword [ebp - 4], 0xffffffff
jmp 0x1004040d
mov eax, dword [ebp - 0x14c]
add eax, 0x263
imul ecx, eax, 0x355
mov edx, dword [ebp - 0x150]
sub edx, dword [ebp - 0x154]
cmp ecx, edx
je 0x100406f5
movzx eax, word [ebp - 0x34]
imul eax, eax, 0x9b5
cdq
mov dword [0x1007f198], eax
mov dword [0x1007f19c], edx
mov ecx, dword [ebp - 0x38]
mov word [0x1007f1a0], cx
mov eax, dword [ebp - 0x3c]
cdq
xor eax, 0xc18766a
xor edx, 0xa2d7b
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov edx, dword [str.SdbAppraiserResour]
mov dword [ebp - 0x21c], edx
mov eax, dword [0x100674e4]
mov dword [ebp - 0x218], eax
mov ecx, dword [0x100674e8]
mov dword [ebp - 0x214], ecx
mov edx, dword [0x100674ec]
mov dword [ebp - 0x210], edx
mov ax, word [0x100674f0]
mov word [ebp - 0x20c], ax
mov cl, byte [0x100674f2]
mov byte [ebp - 0x20a], cl
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [0x1007f180]
push ecx
push 0xbe
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x254], eax
movzx ecx, dx
push ecx
movzx dx, byte [ebp - 0x11]
movzx eax, dx
push eax
movzx ecx, word [ebp - 0x28]
push ecx
call fcn.10036740
add esp, 0x14
movsx edx, ax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x1ec]
ja 0x100405ff
jb 0x1004053e
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1f0]
jae 0x100405ff
push 0x8f
push 0
call fcn.100364f0
add esp, 8
mov word [0x1007f1b8], ax
movzx ecx, word [0x1007f1b8]
test ecx, ecx
jle 0x100405c8
cmp dword [0x1007f154], 0
jne 0x10040573
mov dword [ebp - 0xf4], 1
jmp 0x1004057d
mov dword [ebp - 0xf4], 0
movzx edx, byte [0x1007f027]
mov eax, dword [ebp - 0xf4]
sub eax, edx
mov ecx, dword [0x1007f170]
sub ecx, eax
xor edx, edx
mov dword [0x1007f188], ecx
mov dword [0x1007f18c], edx
movzx eax, word [ebp - 0x28]
cdq
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x2c]
sbb eax, edx
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1005a1b0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
jmp 0x100405fa
movzx eax, word [0x1007f1b8]
not eax
test eax, eax
je 0x100405fa
movzx eax, word [0x1007f128]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.1005a1b0
mov dword [ebp - 0x68], eax
imul eax, dword [ebp - 0x48], 0x9e
mov word [ebp - 0x34], ax
jmp 0x100406e8
mov eax, dword [ebp - 0x48]
cdq
mov ecx, dword [0x1007f160]
mov esi, dword [0x1007f164]
not ecx
not esi
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x1fc], esi
mov edx, dword [ebp - 0x1f8]
cmp edx, dword [ebp - 0x200]
jne 0x10040653
mov eax, dword [ebp - 0x1f4]
cmp eax, dword [ebp - 0x1fc]
jne 0x10040653
mov dword [ebp - 0xf8], 1
jmp 0x1004065d
mov dword [ebp - 0xf8], 0
movzx eax, word [0x1007f16c]
not eax
cdq
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], edx
mov ecx, dword [ebp - 0x204]
cmp ecx, dword [0x1007f124]
ja 0x1004069d
jb 0x10040691
mov edx, dword [ebp - 0x208]
cmp edx, dword [0x1007f120]
jae 0x1004069d
mov dword [ebp - 0x100], 1
jmp 0x100406a7
mov dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x100]
jl 0x100406e8
mov ecx, 8
mov word [0x1007f1a0], cx
movzx edx, word [0x1007f1a0]
mov dword [0x1007f170], edx
mov eax, dword [0x1007f198]
mov ecx, dword [0x1007f19c]
mov dword [ebp - 0x258], ecx
add eax, 0x1207
mov word [ebp - 0x28], ax
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret