Function at 0x4021b3
Capabilities:
Terminate process

Disassembly:
push ebp
sub esp, 0x904
lea ebp, [esp - 4]
mov eax, dword [0x413118]
xor eax, ebp
mov dword [ebp + 0x904], eax
push 0x6c
mov eax, 0x40be68
call fcn.0040ae14
mov edi, dword [ebp + 0x914]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
call fcn.00401cbb
mov esi, dword [ebp + 0x910]
cmp esi, 1
jle 0x40225d
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.MSVCR100.dll__mbscmp]
push 0x40d5b4
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x40222c
push edi
push esi
call fcn.00402fa9
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.004029f3
mov eax, esi
jmp 0x402473
mov eax, dword [edi + 4]
push str._securejws
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x402245
push esi
call fcn.00401813
jmp 0x40221a
mov eax, dword [edi + 4]
push str._sjed
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x40225d
call fcn.004019fb
jmp 0x40221b
cmp esi, 4
jge 0x402267
xor esi, esi
inc esi
jmp 0x40221d
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
call fcn.00402088
pop ecx
test eax, eax
je 0x402262
xor ebx, ebx
inc ebx
cmp esi, ebx
jle 0x402308
mov esi, dword [edi + ebx*4]
call fcn.004015f4
test eax, eax
je 0x402302
push 0x16
push 0x40d5d0
push esi
call dword [sym.imp.MSVCR100.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
je 0x402262
push dword [edi + ebx*4]
call section..text
pop ecx
test eax, eax
jne 0x4022f9
push dword [edi + ebx*4]
call fcn.00401693
pop ecx
test eax, eax
je 0x4022f9
push dword [edi + ebx*4]
call fcn.004056e3
pop ecx
test al, al
je 0x4022e2
push dword [edi + ebx*4]
call fcn.00405762
push eax
call fcn.0040552f
pop ecx
pop ecx
test al, al
je 0x402496
mov eax, dword [edi + ebx*4]
call fcn.0040155d
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402c4a
inc ebx
cmp ebx, dword [ebp + 0x910]
jl 0x402282
mov esi, dword [ebp + 0x910]
cmp ebx, esi
je 0x402262
mov eax, dword [edi + ebx*4]
push 0x40d5e8
push eax
call dword [sym.imp.MSVCR100.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
jne 0x402262
lea eax, [edi + ebx*4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402ca1
inc ebx
cmp ebx, esi
jge 0x402354
lea eax, [edi + ebx*4]
mov dword [ebp - 0x10], eax
sub esi, ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.00402ca1
add dword [ebp - 0x10], 4
dec esi
jne 0x402342
push 0x103
xor esi, esi
lea eax, [ebp + 0x801]
push esi
push eax
mov byte [ebp + 0x800], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [edi]
push 1
lea edx, [ebp + 0x800]
call fcn.004016b3
add esp, 0x10
test eax, eax
je 0x402262
mov edi, dword [sym.imp.MSVCR100.dll__snprintf]
lea eax, [ebp + 0x800]
push eax
push str._s_binjava.exe
mov ebx, 0x400
lea eax, [ebp + 0x400]
push ebx
push eax
call edi
lea eax, [ebp + 0x400]
push eax
push str.__s_
lea eax, [ebp]
push ebx
push eax
call edi
lea eax, [ebp]
add esp, 0x20
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402d04
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00401cdc
mov edi, dword [sym.imp.MSVCR100.dll__putenv]
push 0x40d624
mov ebx, eax
call edi
push 0x40d630
call fcn.004055f2
add esp, 0x10
test al, al
jne 0x40240b
push 0x40d640
call edi
pop ecx
push 0x40d650
call fcn.004055f2
pop ecx
test al, al
jne 0x402422
push 0x40d664
call edi
pop ecx
push 0x44
pop edi
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x8000000
push 1
push esi
push esi
lea eax, [ebp + 0x400]
push ebx
push eax
mov dword [ebp - 0x78], edi
call fcn.004078a6
add esp, 0x34
test eax, eax
je 0x402262
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x20]
call fcn.004029f3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x904]
xor ecx, ebp
call fcn.0040ad48
add ebp, 0x908
leave
ret
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3