Function at 0x40a4c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435bae
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x444d08]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x444d08]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
call fcn.0040d2e3
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a523
push 0x80004005
call fcn.00405150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x128], edi
call fcn.0040d2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a554
push 0x80004005
call fcn.00405150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x128], 1
call fcn.0040d2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a586
push 0x80004005
call fcn.00405150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x128], 2
call fcn.0040d2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a5b8
push 0x80004005
call fcn.00405150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x128], 3
mov dword [esp + 0x30], edi
mov byte [esp + 0x17], 0
call fcn.0040d2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a5f3
push 0x80004005
call fcn.00405150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x128], 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.00401100
call fcn.00406a30
push str.OATool.Log
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0040b3f0
add esp, 0xc
push eax
mov ecx, 0x44a6f8
mov byte [esp + 0x12c], 5
call fcn.00404d80
mov byte [esp + 0x128], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.1.0.0.16
lea ecx, [esp + 0x24]
push str._______________________________r_n__Insyde_OATool__Ver:_s____r_n_______________________________r_n
push ecx
call fcn.00408060
mov esi, dword [esp + 0x2c]
add esp, 0xc
push esi
lea ecx, [esp + 0x28]
call fcn.0040b4d0
push esi
push 2
call fcn.00408660
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041aba2
add esp, 0xc
call fcn.00408e60
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
cmp eax, 2
jl 0x40aad7
xor ebx, ebx
cmp eax, edi
jle 0x40a80e
lea esp, [esp]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + ebx*4]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a6e0
sub eax, esi
sar eax, 1
mov esi, eax
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a6f6
sub eax, edi
lea ecx, [esi + esi]
push ecx
push edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0041aa3a
lea edx, [esp + 0x4c]
add esp, 0x14
push edx
lea edi, [esp + 0x38]
lea edx, [esp + 0x1b]
lea esi, [esp + 0x34]
lea eax, [esp + 0xb0]
call fcn.004094b0
add esp, 4
cmp al, 1
je 0x40a81c
cmp byte [0x44a31a], 1
jne 0x40a7f9
push 0x44a6fc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040b330
add esp, 0xc
push eax
mov ecx, 0x44a6fc
mov byte [esp + 0x12c], 7
call fcn.00404d80
mov byte [esp + 0x128], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a7aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
push 1
call fcn.00408660
mov eax, dword [0x44a6fc]
add esp, 8
cmp dword [eax - 4], 1
jle 0x40a7d7
mov edx, dword [eax - 0xc]
push edx
mov ecx, 0x44a6fc
call fcn.00404e70
mov eax, dword [0x44a6fc]
push eax
lea eax, [esp + 0x1c]
push str.Log_Name_:__s_n
push eax
call fcn.00408060
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push 1
call fcn.00408660
add esp, 8
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x40a6d0
cmp byte [esp + 0x17], 0
jne 0x40ac17
mov edi, 1
mov dword [esp + 0x30], edi
jmp 0x40ac23
cmp byte [0x44a31a], 1
jne 0x40a8cc
push 0x44a6fc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040b330
add esp, 0xc
push eax
mov ecx, 0x44a6fc
mov byte [esp + 0x12c], 6
call fcn.00404d80
mov byte [esp + 0x128], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a87b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
push edi
push 1
call fcn.00408660
mov eax, dword [0x44a6fc]
add esp, 8
cmp dword [eax - 4], 1
jle 0x40a8a8
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, 0x44a6fc
call fcn.00404e70
mov eax, dword [0x44a6fc]
push eax
lea edx, [esp + 0x1c]
push str.Log_Name_:__s_n
push edx
call fcn.00408060
mov ebx, dword [esp + 0x24]
add esp, 0xc
push ebx
push 1
call fcn.00408660
add esp, 8
jmp 0x40a8d4
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x2c], 1
jne 0x40a9d6
push 1
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
push str.Error_:_No_such_command__n
call fcn.0041aba2
mov byte [esp + 0x134], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x128], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a97d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a9cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40b2fd
mov ecx, dword [0x44a650]
push ecx
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
mov edx, dword [0x44a654]
push edx
call fcn.0041bd1f
mov esi, dword [0x44a650]
mov byte [esp + 0x134], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x128], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aaa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aad0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x40b2fd
mov dword [esp + 0x30], 7
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x17]
push ecx
push edi
push edx
lea eax, [esp + 0x24]
push str.Get_Argument_:__d__Get_File_Name_:__d__Command_:__d_n
push eax
call fcn.00408060
mov esi, dword [esp + 0x2c]
add esp, 0x14
push esi
push 1
call fcn.00408660
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00414995
test eax, eax
jne 0x40adfa
mov ecx, dword [0x44a6f0]
push ecx
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
mov edx, dword [0x44a6f4]
push edx
call fcn.0041bd1f
mov edi, dword [0x44a6f0]
mov byte [esp + 0x134], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x40b2e2
mov edi, dword [esp + 0x34]
test edi, edi
je 0x40aadf
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + edi*4]
test edx, edx
jne 0x40ac32
xor eax, eax
jmp 0x40ac46
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ac37
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00404fe0
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 0xc], 0
jge 0x40ac65
push 0x80070057
call fcn.00405150
movzx eax, word [ebx]
cmp ax, 0x2d
je 0x40ad2e
mov edx, dword [ebp + 8]
cmp edx, dword [esp + 0x38]
jl 0x40ad2e
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.0041ac67
add esp, 8
test eax, eax
je 0x40ac9b
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40acf0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040b330
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x12c], 8
call fcn.00404d80
mov byte [esp + 0x128], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 4], 1
jle 0x40ad07
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404e70
mov ebx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x1c]
push str.File_Path_Name_:__s_n
push edx
call fcn.00408060
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
push 3
call fcn.00408660
add esp, 8
jmp 0x40aadf
mov ecx, dword [0x44a654]
push ecx
call fcn.0041bd1f
mov esi, dword [0x44a650]
mov byte [esp + 0x12c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ad6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40adbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ade3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x40aab7
lea ecx, [esp + 0x44]
call fcn.0040eb20
mov ebx, vtable.CMainApp.0
mov dword [esp + 0x44], ebx
mov byte [esp + 0x128], 9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
push ecx
push edx
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
call fcn.00404d10
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [edi], eax
call fcn.00407450
call fcn.00406a90
mov byte [esp + 0x128], 4
lea ecx, [esp + 0x44]
mov edi, eax
mov dword [esp + 0x44], ebx
call fcn.004109aa
cmp dword [esp + 0x2c], 1
jne 0x40b218
cmp edi, 0x14
jne 0x40af61
push 2
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
add esp, 8
mov byte [esp + 0x128], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40aeb4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aedc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x40b2fd
cmp edi, 3
jne 0x40b056
push edi
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push edi
call fcn.00408660
add esp, 8
mov byte [esp + 0x128], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40afa9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40afd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b04c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x40b2fd
test edi, edi
jne 0x40b148
push edi
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
add esp, 8
mov byte [esp + 0x128], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b09e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b0c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b0ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b116
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b141
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40b2fd
push 1
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
add esp, 8
mov byte [esp + 0x128], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b189
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x40a9b3
push edi
push str.___________Return_Code_:__d_r_n
push 2
call fcn.00408660
add esp, 0xc
push str._______________________________r_n___________Log_End_r_n_______________________________r_n
push 3
call fcn.00408660
add esp, 8
mov byte [esp + 0x128], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b258
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b280
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0041a25b
mov esp, ebp
pop ebp
ret