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

Disassembly:
push 0xffffffffffffffff
push 0x477091
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
call fcn.004075e0
mov eax, dword [esp + 0x12c]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
cmp esi, eax
mov ebp, 0x10
je 0x40fac1
lea eax, [esi + 4]
mov dword [esp + 0x18], eax
jmp 0x40f7a0
mov eax, dword [esi + 0x14]
cmp eax, 1
mov byte [esp + 0x13], 0
jbe 0x40f867
test eax, eax
ja 0x40f7bc
mov ecx, esi
call fcn.004616be
cmp dword [esi + 0x18], ebp
mov ebx, dword [esp + 0x18]
jb 0x40f7c9
mov eax, dword [ebx]
jmp 0x40f7cb
mov eax, ebx
cmp byte [eax], 0x2f
je 0x40f7ee
mov eax, dword [esi + 0x14]
test eax, eax
ja 0x40f7de
mov ecx, esi
call fcn.004616be
cmp dword [esi + 0x18], ebp
jb 0x40f7e7
mov eax, dword [ebx]
jmp 0x40f7e9
mov eax, ebx
cmp byte [eax], 0x2d
jne 0x40f86b
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0xd0]
push ecx
mov ecx, esi
call fcn.0040bb30
mov ecx, dword [esp + 0x1c]
push eax
add ecx, 4
mov dword [esp + 0x128], 0
call fcn.0040b610
mov edi, eax
cmp dword [esp + 0xe0], ebp
mov dword [esp + 0x124], 0xffffffff
jb 0x40f83f
mov edx, dword [esp + 0xcc]
push edx
call fcn.00468d00
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
mov byte [esp + 0x13], 1
jmp 0x40f919
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
cmp eax, 1
jbe 0x40f90b
test eax, eax
ja 0x40f882
mov ecx, esi
call fcn.004616be
cmp dword [esi + 0x18], ebp
jb 0x40f88b
mov eax, dword [ebx]
jmp 0x40f88d
mov eax, ebx
cmp byte [eax], 0x40
jne 0x40f90b
mov eax, dword [esp + 0x1c]
test byte [eax + 0x30], 1
je 0x40f90b
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0040bb30
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x128], 1
call fcn.0040f390
mov bl, al
mov eax, dword [esp + 0x38]
neg bl
sbb bl, bl
inc bl
cmp eax, ebp
mov dword [esp + 0x124], 0xffffffff
jb 0x40f8e9
mov edx, dword [esp + 0x24]
push edx
call fcn.00468d00
add esp, 4
test bl, bl
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jne 0x40ff1d
jmp 0x40fa9f
mov ecx, dword [esp + 0x1c]
add ecx, 4
call fcn.0040b650
mov edi, eax
test edi, edi
je 0x40fb07
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test al, al
je 0x40fa91
mov al, byte [esp + 0x13]
test al, al
je 0x40f954
mov ecx, dword [esp + 0x12c]
mov eax, dword [ecx + 8]
add esi, 0x1c
add ebx, 0x1c
cmp esi, eax
mov dword [esp + 0x18], ebx
je 0x40fb91
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
test al, al
mov ecx, edi
je 0x40fc34
mov eax, dword [edi]
push esi
call dword [eax + 0x10]
test al, al
jne 0x40fa9b
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
call fcn.0040bad0
push eax
lea edx, [esp + 0x24]
push str.Argument_
push edx
mov dword [esp + 0x130], 0xc
call fcn.0040be20
push str._cannot_accept_parameter:_
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x13c], 0xd
call fcn.0040bc10
push esi
push eax
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x148], 0xe
call fcn.0040bb70
push 0x47cb84
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x154], 0xf
call fcn.0040bc10
add esp, 0x30
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov byte [esp + 0x130], 0x10
call fcn.004082c0
cmp dword [esp + 0x54], ebp
jb 0x40fa11
mov eax, dword [esp + 0x40]
push eax
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x8c], ebp
mov esi, 0xf
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
jb 0x40fa39
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x70], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
jb 0x40fa5f
mov edx, dword [esp + 0x5c]
push edx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
jb 0x40fa7f
mov eax, dword [esp + 0x24]
push eax
call fcn.00468d00
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
jmp 0x40fe1c
test byte [edi + 4], 1
jne 0x40fd72
or byte [edi + 4], 1
add dword [esp + 0x18], 0x1c
mov ecx, dword [esp + 0x12c]
mov eax, dword [ecx + 8]
add esi, 0x1c
cmp esi, eax
jne 0x40f7a0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x40faea
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 4]
test al, al
je 0x40fe40
mov eax, dword [edi + 0xc]
add esi, 8
cmp esi, eax
jne 0x40fad0
mov al, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8
push esi
lea edx, [esp + 0x40]
push str.Unrecognized_argument_
push edx
call fcn.0040be20
push 0x47cb84
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x13c], 2
call fcn.0040bc10
add esp, 0x18
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x130], 3
call fcn.004082c0
cmp dword [esp + 0x38], ebp
jb 0x40fb5e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00468d00
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
cmp dword [esp + 0x54], ebp
jb 0x40ff1d
mov edx, dword [esp + 0x40]
push edx
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x40faec
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.0040bad0
push eax
lea ecx, [esp + 0x5c]
push str.Argument_
push ecx
mov dword [esp + 0x130], 4
call fcn.0040be20
push str._expects_a_parameter.
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x13c], 5
call fcn.0040bc10
add esp, 0x18
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
mov byte [esp + 0x130], 6
call fcn.004082c0
cmp dword [esp + 0x38], ebp
jb 0x40fbfd
mov eax, dword [esp + 0x24]
push eax
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x70], ebp
mov edi, 0xf
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
jb 0x40fc22
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00468d00
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x5c], 0
jmp 0x40fb73
lea eax, [esp + 0x90]
push eax
call fcn.0040bad0
push eax
lea ecx, [esp + 0x40]
push str.Argument_
push ecx
mov dword [esp + 0x130], 7
call fcn.0040be20
push str._cannot_accept_another_parameter:_
push eax
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x13c], 8
call fcn.0040bc10
push esi
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x148], 9
call fcn.0040bb70
push 0x47cb84
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x154], 0xa
call fcn.0040bc10
add esp, 0x30
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov byte [esp + 0x130], 0xb
call fcn.004082c0
cmp dword [esp + 0x70], ebp
jb 0x40fcd3
mov edx, dword [esp + 0x5c]
push edx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x38], ebp
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
jb 0x40fcf8
mov eax, dword [esp + 0x24]
push eax
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x8c], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
jb 0x40fd1b
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
jb 0x40fd41
mov edx, dword [esp + 0x40]
push edx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0xa8], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
jb 0x40ff1d
mov eax, dword [esp + 0x94]
push eax
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x40faec
lea edx, [esp + 0x90]
push edx
mov ecx, edi
call fcn.0040bad0
push eax
lea eax, [esp + 0x78]
push str.Argument_
push eax
mov dword [esp + 0x130], 0x11
call fcn.0040be20
push str._already_present.
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x13c], 0x12
call fcn.0040bc10
add esp, 0x18
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov byte [esp + 0x130], 0x13
call fcn.004082c0
cmp dword [esp + 0x54], ebp
jb 0x40fde1
mov edx, dword [esp + 0x40]
push edx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x8c], ebp
mov esi, 0xf
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
jb 0x40fe09
mov eax, dword [esp + 0x78]
push eax
call fcn.00468d00
add esp, 4
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
cmp dword [esp + 0xa8], ebp
jb 0x40ff1d
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x40faec
mov ecx, dword [esi + 4]
lea eax, [esp + 0x100]
push eax
call fcn.0040bad0
push eax
lea ecx, [esp + 0xe8]
push str.Expected_argument_
push ecx
mov dword [esp + 0x130], 0x14
call fcn.0040be20
push 0x47cb84
push eax
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x13c], 0x15
call fcn.0040bc10
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x130], 0x16
call fcn.004082c0
cmp dword [esp + 0xc4], ebp
jb 0x40feba
mov eax, dword [esp + 0xb0]
push eax
call fcn.00468d00
add esp, 4
cmp dword [esp + 0xfc], ebp
mov esi, 0xf
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], edi
mov byte [esp + 0xb0], 0
jb 0x40feee
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00468d00
add esp, 4
cmp dword [esp + 0x118], ebp
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
jb 0x40ff1d
mov edx, dword [esp + 0x104]
push edx
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x40faec