Function at 0x436750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49110d
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4fdca8]
xor eax, ebp
mov dword [ebp - 0x4c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 4
push 0
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR100.dll_setvbuf]
add esp, 0x10
push 1
call fcn.004447e0
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 - 4]
push edx
call fcn.004371f0
add esp, 4
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x28]
call fcn.0044f540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401302
mov byte [ebp - 4], 1
push 0x4fca30
lea eax, [ebp - 0x45]
push eax
lea ecx, [ebp - 0x3d]
push ecx
lea edx, [ebp - 0x3e]
push edx
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp - 0x29]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00437370
add esp, 0x2c
lea ecx, [ebp - 0x28]
call fcn.00450550
movzx ecx, al
test ecx, ecx
je 0x43684c
push str.Missing_parameters
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00436be0
add esp, 0xc
push 0
call dword [sym.imp.MSVCR100.dll_exit]
lea ecx, [ebp - 0x21]
push ecx
push 0x4fca30
lea edx, [ebp - 0x29]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00437770
add esp, 0x10
cmp dword [ebp - 0x44], 0
je 0x436899
push 0x200
lea ecx, [ebp - 0x24c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str._Revision:_52328__
lea edx, [ebp - 0x24c]
push edx
push str._s_:__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
cmp dword [0x4fca30], 0
jge 0x4368ac
mov dword [0x4fca30], 4
cmp dword [ebp - 0x44], 0
je 0x4368ea
push 0x4cc80c
call fcn.00401172
add esp, 4
push eax
push 0x4cc814
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
push 0x4cc828
call fcn.00401172
add esp, 4
push eax
push 0x4cc834
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00437320
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00450270
push eax
movzx ecx, byte [ebp - 0xd]
push ecx
call fcn.00436d40
add esp, 0xc
cmp dword [ebp - 0x44], 0
je 0x436947
push str.TMPAUTO
call fcn.00401172
add esp, 4
push eax
push str._TMPAUTO__:___s__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
push str.WNCRMTMP
call fcn.00401172
add esp, 4
push eax
push str._WNCRMTMP_:___s__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00402478
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
push edx
call fcn.004375c0
add esp, 4
movzx eax, byte [ebp - 0x21]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x27c], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004027b6
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.0040187f
add esp, 0x20
call fcn.00437240
movzx eax, byte [ebp - 0x3e]
push eax
call fcn.004371c0
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00436ce0
add esp, 8
mov dword [0x4fe810], eax
mov eax, dword [0x4fe810]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0xfffffffe
je 0x436b4d
cmp dword [ebp - 0x288], 0xffffffff
je 0x4369e8
cmp dword [ebp - 0x288], 0
je 0x436a02
jmp 0x436b5b
push str.batch_key_num_not_specified
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00436be0
add esp, 0xc
jmp 0x436b6d
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040129e
add esp, 0x10
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.004022a7
add esp, 4
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push ecx
lea ecx, [ebp - 0x254]
call fcn.00401762
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x258]
call fcn.0040233d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
call fcn.00402284
mov byte [ebp - 4], 5
mov byte [ebp - 0x261], 0
lea eax, [ebp - 0x261]
push eax
lea ecx, [ebp - 0x258]
push ecx
movzx edx, byte [ebp - 0x45]
push edx
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004027b1
add esp, 0x20
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x436b10
push str.PROCDATA
call fcn.0043fd40
add esp, 4
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x436af0
mov dword [ebp - 0x278], str._undefined_
mov edx, dword [ebp - 0x278]
push edx
lea ecx, [ebp - 0x28]
call fcn.004504b0
push eax
push str.WorkNC_procedure_file___s__not_found_:__PROCDATA____n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
jmp 0x436b1e
mov eax, dword [ebp - 0x44]
push eax
push 0
call fcn.004021b7
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
call fcn.004018bb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.004024be
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00401271
jmp 0x436b6d
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004026fd
add esp, 4
jmp 0x436b6d
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [0x4fe810]
push eax
call fcn.00401bb8
add esp, 8
call fcn.004014ba
cmp dword [ebp - 0x44], 0
je 0x436b8c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push str._s_returning_0_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004016bd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402c7a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044f790
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.00469394
mov esp, ebp
pop ebp
ret