Function at 0x401f9e
Capabilities:
Terminate process

Disassembly:
push ebp
sub esp, 0x904
lea ebp, [esp - 4]
mov eax, dword [0x411100]
xor eax, ebp
mov dword [ebp + 0x904], eax
push 0x6c
mov eax, 0x40af08
call fcn.00409ec4
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.00401aa6
mov esi, dword [ebp + 0x910]
cmp esi, 1
jle 0x402030
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.MSVCR100.dll__mbscmp]
push 0x40c564
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x402017
push edi
push esi
call fcn.00402d80
pop ecx
mov esi, eax
pop ecx
lea ecx, [ebp - 0x20]
call fcn.004027ca
mov eax, esi
jmp 0x40224a
mov eax, dword [edi + 4]
push str._securejws
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x402030
push esi
call fcn.00401812
jmp 0x402005
cmp esi, 4
jge 0x40203a
xor esi, esi
inc esi
jmp 0x402008
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
call fcn.00401e73
pop ecx
test eax, eax
je 0x402035
xor ebx, ebx
inc ebx
cmp esi, ebx
jle 0x4020db
mov esi, dword [edi + ebx*4]
call fcn.004015f3
test eax, eax
je 0x4020d5
push 0x16
push 0x40c578
push esi
call dword [sym.imp.MSVCR100.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
je 0x402035
push dword [edi + ebx*4]
call section..text
pop ecx
test eax, eax
jne 0x4020cc
push dword [edi + ebx*4]
call fcn.00401692
pop ecx
test eax, eax
je 0x4020cc
push dword [edi + ebx*4]
call fcn.004054b8
pop ecx
test al, al
je 0x4020b5
push dword [edi + ebx*4]
call fcn.00405537
push eax
call fcn.00405304
pop ecx
pop ecx
test al, al
je 0x40226d
mov eax, dword [edi + ebx*4]
call fcn.0040155c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402a21
inc ebx
cmp ebx, dword [ebp + 0x910]
jl 0x402055
mov esi, dword [ebp + 0x910]
cmp ebx, esi
je 0x402035
mov eax, dword [edi + ebx*4]
push 0x40c590
push eax
call dword [sym.imp.MSVCR100.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
jne 0x402035
lea eax, [edi + ebx*4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402a78
inc ebx
cmp ebx, esi
jge 0x402127
lea eax, [edi + ebx*4]
mov dword [ebp - 0x10], eax
sub esi, ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.00402a78
add dword [ebp - 0x10], 4
dec esi
jne 0x402115
push 0x103
xor ebx, ebx
lea eax, [ebp + 0x801]
push ebx
push eax
mov byte [ebp + 0x800], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [edi]
xor esi, esi
inc esi
push esi
lea edx, [ebp + 0x800]
call fcn.004016b2
add esp, 0x10
test eax, eax
je 0x402008
mov esi, dword [sym.imp.MSVCR100.dll__snprintf]
lea eax, [ebp + 0x800]
push eax
push str._s_binjava.exe
mov edi, 0x400
lea eax, [ebp + 0x400]
push edi
push eax
call esi
lea eax, [ebp + 0x400]
push eax
push str.__s_
lea eax, [ebp]
push edi
push eax
call esi
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.00402adb
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00401ac7
mov esi, dword [sym.imp.MSVCR100.dll__putenv]
push 0x40c5cc
mov edi, eax
call esi
push 0x40c5d8
call fcn.004053c7
add esp, 0x10
test al, al
jne 0x4021e0
push 0x40c5e8
call esi
pop ecx
push 0x40c5f8
call fcn.004053c7
pop ecx
test al, al
jne 0x4021f7
push 0x40c60c
call esi
pop ecx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x78]
push ebx
push eax
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
mov dword [ebp - 0x78], esi
push 0x8000000
xor esi, esi
inc esi
push esi
push ebx
push ebx
lea eax, [ebp + 0x400]
push edi
push eax
call fcn.00407410
add esp, 0x34
test eax, eax
je 0x402008
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x20]
call fcn.004027ca
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.00409df2
add ebp, 0x908
leave
ret
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3