Function at 0x101003c
Capabilities:
Execute command
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1020204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x38], ebx
push edi
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x208], 1
je 0x10100c3
push dword [esi + 0x2c]
push dword [esi + 0x3c]
push dword [esi + 4]
push dword [esi]
call fcn.010137bd
mov edi, eax
test edi, edi
mov ebx, 0x1002128
mov dword [ebp - 0x210], 0x1002120
jne 0x1010101
call fcn.0100fbad
push edi
push 0x1001ad0
push 0x32c
call fcn.0100e6ab
push eax
push dword [0x1021df0]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.msvcrt.dll_exit]
cmp dword [esi + 0x30], ebx
je 0x10100de
call fcn.010157de
mov ebx, 0x1002114
mov dword [ebp - 0x210], 0x100210c
jmp 0x10100fb
cmp dword [esi + 0x34], ebx
je 0x101021a
call fcn.010152cb
mov ebx, 0x1002104
mov dword [ebp - 0x210], 0x10020fc
mov edi, eax
test edi, edi
je 0x1010157
and dword [ebp - 0x208], 0
inc dword [ebp - 0x208]
lea eax, [ebp - 0x208]
push eax
push edi
call fcn.01013a5f
push eax
push edi
call fcn.01013a4e
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.010062a3
push edi
call fcn.01013a75
mov edi, eax
test edi, edi
jne 0x1010108
push dword [esi + 0x20]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push ebx
push eax
call fcn.010062e7
mov dword [ebp - 0x208], eax
xor ebx, ebx
cmp dword [ebp - 0x20c], ebx
je 0x1010313
cmp dword [ebp - 0x208], ebx
je 0x1010313
cmp dword [esi + 0x14], ebx
je 0x10101f1
push 0x10020f0
mov edi, 0x200
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.0101627b
push dword [esi + 0x14]
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01016202
push 0x10020dc
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01016202
push dword [esi]
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01016202
push 0x1001ab0
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01016202
push dword [esi + 4]
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01016202
add esp, 0x48
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_system]
pop ecx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x101025b
lea ecx, [ebp - 0x210]
push ecx
push eax
push dword [esi + 0x20]
call fcn.0100c1f3
test eax, eax
jge 0x1010235
push 0x10
push 0x1001ad0
push 0x33a
jmp 0x1010249
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 4]
push dword [esi]
call fcn.0100615d
mov dword [ebp - 0x20c], eax
jmp 0x1010159
cmp dword [ebp - 0x210], ebx
jne 0x101025b
push 0x10
push 0x1001ad0
push 0x341
call fcn.0100e6ab
push eax
push dword [0x1021df0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x1010267
cmp dword [esi + 0xc], ebx
je 0x10102d8
cmp eax, ebx
mov edi, dword [esi + 0x28]
je 0x101027d
push dword [esi + 0x18]
push eax
push dword [ebp - 0x20c]
call fcn.0100641f
cmp dword [esi + 0xc], ebx
je 0x10102bd
mov eax, dword [0x10200a8]
cmp eax, ebx
jl 0x101028e
push eax
jmp 0x101029b
push dword [esi + 0x20]
call fcn.0100c35e
test eax, eax
jle 0x10102a9
push ebx
push dword [esi + 0x20]
call fcn.0100c4ea
mov dword [ebp - 0x214], eax
push dword [esi + 0x1c]
push dword [esi + 0xc]
push dword [ebp - 0x214]
push dword [esi + 0x20]
call fcn.01004c92
cmp edi, ebx
je 0x10102d8
push 0x144
push esi
push dword [0x1021d74]
call fcn.01018410
push ebx
jmp 0x10100bd
push dword [esi + 0x20]
call fcn.0100c35e
cmp eax, 1
jne 0x1010320
push dword [ebp - 0x20c]
call fcn.010050c2
cmp eax, 1
jne 0x1010320
cmp dword [0x10200ac], ebx
je 0x1010320
push 0xffffffffffffffff
push eax
push ebx
call fcn.0100e021
push dword [0x1021df0]
call fcn.0100eea3
jmp 0x1010320
call fcn.01014406
push dword [esi + 0x20]
call fcn.0100b8fd
push 0x144
push esi
push dword [0x1021d74]
call fcn.01018410
call fcn.0100fbad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01015dd4
leave
ret 4