Function at 0x415f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x84]
mov ebx, dword [edi]
mov dword [esp + 0x84], 5
mov word [esp + 0x24], 0x50
mov dword [esp + 0x10], esi
mov word [ebx + 0x986], 0
mov ax, word [esp + 0x84]
cmp ax, word [esi + 2]
mov dword [esp + 0x18], ebx
jg 0x41607b
push ebp
mov ebp, dword [esp + 0x8c]
jmp 0x415f56
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x980]
lea ecx, [esp + 0x18]
push ecx
add edx, 0x50
push edx
lea eax, [esp + 0x90]
push eax
push esi
call fcn.00416520
test al, al
jne 0x415f9f
movsx ecx, word [esp + 0x88]
mov eax, dword [esp + 0x84]
xor edx, edx
mov dl, byte [ecx + esi + 3]
push edx
push eax
call sym.ptapdl.exe__string_append1_8
inc dword [esp + 0x88]
jmp 0x416061
mov edx, dword [ebx + 0x980]
lea ecx, [esp + 0x18]
push ecx
add edx, 0x50
push edx
lea eax, [esp + 0x90]
push eax
push esi
call fcn.00416520
test al, al
je 0x415fdc
mov ecx, dword [ebx + 0x980]
mov edx, dword [esp + 0x84]
add ecx, 0x50
push ecx
push edx
call sym.ptapdl.exe__string_append_8
jmp 0x416061
mov eax, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov byte [esp + 0x8c], bl
mov eax, dword [esp + 0x8c]
and eax, 0xff
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 0x980]
lea edx, [ecx + edx*4 + 0x74]
push edx
lea eax, [esp + 0x90]
push eax
push esi
call fcn.00416520
test al, al
jne 0x416084
inc ebx
test ebx, ebx
mov byte [esp + 0x8c], bl
jle 0x415ff0
push 0x420f98
push 0x1c
push 1
push str.Unrecognized_escape_command.
call fcn.0040d773
push 0x4221d4
call fcn.0040d742
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
call fcn.004165c0
mov ax, word [esp + 0x88]
mov esi, dword [esp + 0x80]
cmp ax, word [esi + 2]
jle 0x415f52
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 0x10
mov al, byte [esp + 0x8c]
test al, al
je 0x4160a9
push 0x420f98
push 0x1d
push 1
push str.Unimplemented_escape_command.
call fcn.0040d773
push 0x4221b0
jmp 0x416049
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x9c]
push eax
push esi
push 1
call fcn.004163e0
push ebp
call sym.ptapdl.exe__sys_error_4
test al, al
jne 0x416061
mov eax, dword [esp + 0x20]
cmp eax, 1
jl 0x4163ac
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 0x58]
jg 0x4163ac
mov edx, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x10], edx
mov byte [esp + 0x24], bl
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
mov eax, esi
and eax, 0xff
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x980]
lea ecx, [eax + ecx*4 + 0x98]
mov eax, dword [esp + 0x84]
push ecx
lea edx, [esp + 0x90]
push edx
push eax
call fcn.00416520
test al, al
jne 0x416176
inc ebx
cmp ebx, 2
mov byte [esp + 0x24], bl
jle 0x4160ff
push 0x420f98
push 0x18
push 1
push str.Unrecognized_subcommand.
call fcn.0040d773
push 0x42218c
call fcn.0040d742
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
jmp 0x41605b
and esi, 0xff
sub esi, 0
je 0x41633e
dec esi
je 0x4162b4
dec esi
je 0x4161ac
push 0x420f98
push 0x19
push 1
push str.Unimplemented_subcommand.
call fcn.0040d773
push 0x42216c
jmp 0x416049
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x8c]
push ebp
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x9c]
push eax
push ecx
push 1
call fcn.004163e0
push ebp
call sym.ptapdl.exe__sys_error_4
test al, al
jne 0x416061
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
cmp ax, word [ecx + 2]
mov esi, dword [esp + 0x18]
jg 0x4162ab
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x980]
movsx edx, ax
mov dl, byte [edx + ecx + 3]
cmp dl, byte [ebx + 0x24]
jne 0x4162ab
inc eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x14]
push eax
push edi
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x9c]
push edx
push ecx
push 1
call fcn.004163e0
push ebp
call sym.ptapdl.exe__sys_error_4
test al, al
jne 0x416061
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x54]
lea eax, [eax + eax*2]
lea ecx, [edx + eax*4]
xor eax, eax
mov al, byte [ecx - 0xc]
sub eax, 3
je 0x416278
dec eax
jne 0x41635c
mov eax, dword [ecx - 8]
fld qword [eax]
jmp 0x41627d
mov ecx, dword [ecx - 8]
fld dword [ecx]
mov eax, dword [esp + 0x18]
push ebp
push 0x204
push eax
push eax
xor eax, eax
mov ax, word [0x428cec]
movsx edx, si
push edx
push 0
lea ecx, [esp + 0x40]
push eax
push esi
sub esp, 8
fstp qword [esp]
push ecx
call sym.ptapdl.exe__string_f_fp_44
jmp 0x416321
mov dword [esp + 0x10], eax
jmp 0x416051
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x8c]
push ebp
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x9c]
push eax
push ecx
push 0
call fcn.004163e0
push ebp
call sym.ptapdl.exe__sys_error_4
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x54]
neg al
sbb eax, eax
not eax
and eax, ebx
mov edx, eax
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
xor eax, eax
mov al, byte [ecx - 0xc]
sub eax, 2
jne 0x41635c
push ebp
push 0
push edx
mov edx, dword [ecx - 8]
mov eax, dword [edx]
push 0xa
push eax
lea ecx, [esp + 0x3c]
push ecx
call sym.ptapdl.exe__string_f_int_max_base_24
push ebp
call sym.ptapdl.exe__sys_error_none_4
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x28]
push edx
push eax
call sym.ptapdl.exe__string_append_8
jmp 0x416061
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x54]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov cl, byte [eax - 0xc]
sub ecx, 0
je 0x416396
dec ecx
je 0x416379
push 0x420f98
push 0x36
push 1
push str.Data_type_expected_in_message_doesnt_match_parameter.
call fcn.0040d773
push 0x422210
jmp 0x416049
mov edx, dword [eax - 8]
xor ecx, ecx
mov cx, word [eax - 4]
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call sym.ptapdl.exe__string_appendn_12
jmp 0x416061
mov ecx, dword [eax - 8]
mov edx, dword [esp + 0x84]
push ecx
push edx
call sym.ptapdl.exe__string_append_8
jmp 0x416061
push 0x420f98
push 0x1e
push 1
push str.Parameter_number_out_of_range.
call fcn.0040d773
push 0x42214c
call fcn.0040d742
add esp, 0x14
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
jmp 0x41605b