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

Disassembly:
sub esp, 0x58
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x64]
push ebx
mov bl, byte [esp + 9]
xor bh, bh
push ebp
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x70]
mov byte [esp + 0x1c], bh
mov byte [eax], bh
mov dword [esp + 0x20], 0
jmp 0x43d196
mov bl, byte [esp + 0x15]
mov edi, dword [esp + 0x70]
mov bh, byte [esp + 0x1c]
jmp 0x43d196
mov bh, byte [esp + 0x1c]
mov ecx, dword [esp + 0x74]
push dword [esp + 0x6c]
movzx eax, bp
push dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x80]
push dword [esp + 0x28]
mov dword [esp + 0x48], esi
push ecx
inc dword [eax]
call fcn.0043d9e0
cmp dword [esp + 0x20], 0
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [eax], edx
jne 0x43d5ae
mov ecx, dword [esp + 0x74]
push 2
push 0x4d762c
push dword [ecx]
call fcn.004aa0a6
add esp, 0xc
test eax, eax
jne 0x43d1f0
mov bh, 1
mov byte [esp + 0x1c], bh
jmp 0x43d1f4
test bh, bh
je 0x43d271
mov eax, dword [esp + 0x18]
cmp dword [eax], 0xffffffff
je 0x43d97b
mov eax, dword [esp + 0x74]
push 2
push 0x4d7634
push dword [eax]
call fcn.004aa0a6
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [ecx]
test eax, eax
jne 0x43d3ac
lea eax, [edx - 2]
xor bh, bh
mov dword [ecx], eax
lea eax, [eax*2 + 2]
mov ecx, dword [esp + 0x74]
push eax
mov byte [esp + 0x20], bh
mov ecx, dword [ecx]
lea eax, [ecx + 4]
push eax
push ecx
call fcn.0049cef0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
call fcn.00438210
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
cmp word [eax], 0
je 0x43d196
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43d599
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
cmp word [eax], 0x28
jne 0x43d599
cmp word [eax + 2], 0x3a
je 0x43d599
mov dword [esp + 0x20], 1
xor ebp, ebp
mov dword [esp + 0x24], 0
mov edi, eax
mov dword [esp + 0x38], 6
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 0
mov dword [esp + 0x48], 0xa
mov dword [esp + 0x28], 1
movzx eax, word [edi + 2]
add edi, 2
cmp eax, 0x20
je 0x43d2d1
cmp eax, 9
je 0x43d2d1
test ax, ax
je 0x43d4e6
nop dword [eax + eax]
mov ebx, edi
test edi, edi
je 0x43d331
movzx eax, word [edi]
test ax, ax
je 0x43d331
mov esi, eax
mov eax, 0x4d4710
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x43d348
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x43d310
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43d300
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d336
sub ecx, edx
sar ecx, 1
lea ebx, [edi + ecx*2]
movzx esi, word [ebx]
xor eax, eax
push 4
push str.Join
push edi
mov word [ebx], ax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x43d408
push 0xf
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004aa8b4
add esp, 0xc
lea ecx, [esp + 0x48]
xor eax, eax
xor edx, edx
mov word [esp + 0x66], ax
call fcn.00483c20
lea edx, [esp + 0x48]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43d394
sub edx, ecx
sar edx, 1
mov dword [esp + 0x28], edx
jmp 0x43d4b9
cmp edx, 2
jb 0x43d192
mov eax, dword [esp + 0x74]
mov ecx, 0x4d7634
mov eax, dword [eax]
lea eax, [eax + edx*2]
add eax, 0xfffffffc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43d3ec
test dx, dx
je 0x43d3e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43d3ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x43d3c6
xor eax, eax
jmp 0x43d3f1
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x74]
test eax, eax
jne 0x43d196
xor bh, bh
mov byte [esp + 0x1c], bh
jmp 0x43d196
push 5
push str.LTrim
push edi
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x43d430
xor ecx, ecx
cmp word [edi + 0xa], 0x30
sete cl
inc ecx
mov dword [esp + 0x38], ecx
jmp 0x43d4b9
push 5
push str.RTrim
push edi
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x43d450
cmp word [edi + 0xa], 0x30
setne byte [esp + 0x16]
jmp 0x43d4b9
mov eax, ebx
sub eax, edi
sar eax, 1
push eax
push str.Comments
push edi
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x43d473
mov dword [esp + 0x20], 2
jmp 0x43d4b9
movzx eax, word [edi]
cmp eax, 0x60
jne 0x43d489
cmp word [edi + 2], 0
jne 0x43d489
mov byte [esp + 0x17], 1
jmp 0x43d4b9
mov edx, edi
test ax, ax
je 0x43d4b4
mov ecx, eax
cmp cx, 0x28
je 0x43d978
cmp cx, 0x29
je 0x43d978
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
jne 0x43d492
test ebp, ebp
cmove ebp, edi
mov word [ebx], si
mov edi, ebx
mov eax, esi
cmp ax, 0x20
je 0x43d4cc
cmp ax, 9
jne 0x43d4d5
movzx eax, word [edi + 2]
add edi, 2
jmp 0x43d4c0
test ax, ax
jne 0x43d2f0
test ebp, ebp
jne 0x43d98a
mov eax, dword [esp + 0x7c]
xor esi, esi
mov ebx, dword [esp + 0x70]
mov dl, byte [eax]
mov eax, dword [esp + 0x40]
test dl, dl
movzx eax, ax
cmovne esi, dword [esp + 0x3c]
xor ecx, ecx
test dl, dl
cmovne ecx, eax
movzx ebp, cx
mov dword [esp + 0x34], ebp
nop
test bp, bp
je 0x43d54a
mov edi, dword [ebx]
xor eax, eax
cmp word [edi + esi*2], bp
lea ecx, [edi + esi*2]
je 0x43d540
movzx edx, word [ecx + eax*2]
test dx, dx
je 0x43d540
cmp edx, 0x60
jne 0x43d539
cmp word [ecx + eax*2 + 2], 0
je 0x43d539
inc eax
inc eax
cmp word [ecx + eax*2], bp
jne 0x43d522
add esi, eax
cmp word [edi + esi*2], 0
je 0x43d57b
inc esi
mov ecx, dword [ebx]
lea eax, [esi + esi]
cmp word [ecx + eax], 0
je 0x43d56f
movzx eax, word [ecx + eax]
cmp eax, 0x22
je 0x43d56f
cmp eax, 0x27
je 0x43d56f
inc esi
lea eax, [esi + esi]
cmp word [ecx + eax], 0
jne 0x43d556
movzx ebp, word [ecx + esi*2]
test bp, bp
je 0x43d57b
inc esi
jmp 0x43d510
mov eax, dword [esp + 0x7c]
test bp, bp
mov edi, dword [esp + 0x70]
setne bl
mov dword [esp + 0x34], ebp
mov byte [esp + 0x15], bl
mov byte [eax], 1
jmp 0x43d18e
mov dword [esp + 0x20], 0
test ecx, ecx
jne 0x43d97b
jmp 0x43d192
cmp edx, 0xffffffff
je 0x43d9c0
mov ecx, dword [esp + 0x74]
cmp edx, 0xfffffffe
je 0x43d196
mov eax, ecx
mov edi, dword [eax]
cmp word [edi], 0x29
jne 0x43d61d
lea eax, [edi - 2]
mov dword [esp + 0x20], 0
lea eax, [eax + edx*2]
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x43d5ed
cmp ecx, 9
jne 0x43d5f7
cmp eax, edi
je 0x43d5ff
sub eax, 2
dec edx
jmp 0x43d5e0
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x43d606
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
mov ebx, dword [eax]
lea eax, [edx - 1]
add ebx, 2
mov dword [ecx], eax
jmp 0x43d89d
cmp dword [esp + 0x24], 0
jne 0x43d684
test bp, bp
jne 0x43d684
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x43d684
mov eax, dword [edi]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x7f
ja 0x43d65a
push eax
call fcn.004a35e0
add esp, 4
test eax, eax
jne 0x43d65a
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp word [eax + ecx*2 - 2], 0x5f
jne 0x43d680
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
cmp eax, 0x4001
jae 0x43d680
mov eax, dword [edi]
mov edx, 0x20
mov word [eax + ecx*2], dx
inc dword [edi + 4]
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x74]
cmp byte [esp + 0x16], 0
je 0x43d6f2
mov edi, dword [eax]
cmp word [edi], 0
je 0x43d6e9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x43d6b2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d6a3
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
lea eax, [edi + eax*2]
movzx edx, word [eax]
cmp edx, 0x20
je 0x43d6c5
cmp edx, 9
jne 0x43d6cf
cmp eax, edi
je 0x43d6e0
sub eax, 2
dec ecx
jmp 0x43d6b8
xor edx, edx
mov word [eax + 2], dx
mov eax, dword [esp + 0x74]
lea edi, [eax + 4]
mov dword [edi], ecx
jmp 0x43d6f5
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x74]
xor ecx, ecx
lea edi, [eax + 4]
mov dword [edi], ecx
jmp 0x43d6f5
lea edi, [eax + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, 6
jne 0x43d7ad
cmp dword [esp + 0x24], 0
jne 0x43d751
mov eax, dword [eax]
movzx edx, word [eax]
mov dword [esp + 0x44], edx
cmp edx, 0x20
je 0x43d731
cmp edx, 9
je 0x43d731
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
jmp 0x43d7ce
add eax, 2
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp word [eax], dx
jne 0x43d759
lea eax, [eax + 2]
inc ecx
cmp word [eax], dx
je 0x43d742
mov dword [esp + 0x30], ecx
jmp 0x43d755
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x43d724
mov edx, dword [esp + 0x74]
xor edi, edi
test ecx, ecx
jle 0x43d728
mov eax, dword [edx]
mov ebp, dword [esp + 0x44]
nop dword [eax]
cmp word [eax], bp
jne 0x43d77d
inc edi
add eax, 2
cmp edi, ecx
jl 0x43d770
mov ebp, dword [esp + 0x34]
cmp edi, ecx
jne 0x43d7cb
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, edi
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edi*2]
push eax
push ecx
call fcn.0049cef0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x74]
sub dword [eax], edi
jmp 0x43d7ce
cmp ecx, 1
jne 0x43d724
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.00438210
mov edx, dword [esp + 0x74]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
jmp 0x43d7ce
lea eax, [edx + 4]
mov bh, byte [esp + 0x17]
test bh, bh
jne 0x43d7de
test bl, bl
je 0x43d897
mov ecx, dword [eax]
mov eax, dword [edx + 0x10]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + 8]
cmp edi, eax
jae 0x43d82e
test edi, edi
jne 0x43d800
mov edi, dword [ecx + 0xc]
cmp edi, eax
jae 0x43d806
nop dword [eax]
add edi, edi
cmp edi, eax
jb 0x43d800
lea eax, [edi + edi]
push eax
push dword [ecx]
call fcn.0049f3d8
mov ecx, dword [esp + 0x7c]
add esp, 8
test eax, eax
je 0x43d826
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 8], edi
test eax, eax
je 0x43d9a3
test bh, bh
je 0x43d853
lea edi, [ecx + 4]
mov edx, 0x4d767c
push edi
push 0
push ecx
mov ecx, dword [ecx]
push 0xffffffffffffffff
push 1
push 0x4d7674
call fcn.004822c0
add esp, 0x18
jmp 0x43d857
mov edi, dword [esp + 0x18]
test bl, bl
je 0x43d897
mov ebx, dword [esp + 0x74]
mov edx, 0x4d7688
push edi
push 0
push ecx
mov ecx, dword [ebx]
push 0xffffffffffffffff
push 1
push 0x4d7680
call fcn.004822c0
add esp, 0x18
mov edx, 0x4d7694
push edi
push 0
push ecx
mov ecx, dword [ebx]
push 0xffffffffffffffff
push 1
push 0x4d768c
call fcn.004822c0
add esp, 0x18
mov eax, dword [esp + 0x74]
mov ebx, dword [eax]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
add eax, dword [edx + 4]
add eax, ecx
add eax, dword [edi]
mov edi, dword [edx + 8]
cmp edi, eax
jae 0x43d8f7
test edi, edi
jne 0x43d8c5
mov edi, dword [edx + 0xc]
cmp edi, eax
jae 0x43d8cb
add edi, edi
cmp edi, eax
jb 0x43d8c5
lea eax, [edi + edi]
push eax
push dword [edx]
call fcn.0049f3d8
mov edx, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x43d8eb
mov dword [edx], eax
mov eax, 1
mov dword [edx + 8], edi
test eax, eax
je 0x43d9a3
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 1
jle 0x43d93a
test ecx, ecx
je 0x43d93a
mov eax, dword [esp + 0x74]
cmp ebx, dword [eax]
jne 0x43d93a
lea eax, [ecx*2 + 2]
mov ecx, dword [edx + 4]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [edx]
lea eax, [eax + ecx*2]
push eax
call fcn.0049cef0
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov eax, dword [esp + 0x28]
add dword [edx + 4], eax
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov eax, dword [edi]
test eax, eax
je 0x43d180
mov ecx, dword [edx + 4]
lea eax, [eax*2 + 2]
push eax
mov eax, dword [edx]
push ebx
lea eax, [eax + ecx*2]
push eax
call fcn.0049cef0
mov eax, dword [edi]
add esp, 0xc
mov edi, dword [esp + 0x70]
mov bl, byte [esp + 0x15]
add dword [edi + 4], eax
jmp 0x43d18e
mov word [ebx], si
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov ecx, dword [esp + 0x2c]
push ebp
push str.Invalid_option.
call fcn.0040d7c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov ecx, dword [esp + 0x2c]
push 0x4cee90
push str.Out_of_memory.
call fcn.0040d7c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
push dword [edi]
mov ecx, dword [esp + 0x30]
push 0x4d765c
call fcn.0040d7c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14