Function at 0x43d180
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 0x43d1d6
mov bl, byte [esp + 0x15]
mov edi, dword [esp + 0x70]
mov bh, byte [esp + 0x1c]
jmp 0x43d1d6
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.0043da20
cmp dword [esp + 0x20], 0
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [eax], edx
jne 0x43d5ee
mov ecx, dword [esp + 0x74]
push 2
push 0x4d75bc
push dword [ecx]
call fcn.004aa41d
add esp, 0xc
test eax, eax
jne 0x43d230
mov bh, 1
mov byte [esp + 0x1c], bh
jmp 0x43d234
test bh, bh
je 0x43d2b1
mov eax, dword [esp + 0x18]
cmp dword [eax], 0xffffffff
je 0x43d9bb
mov eax, dword [esp + 0x74]
push 2
push 0x4d75c4
push dword [eax]
call fcn.004aa41d
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [ecx]
test eax, eax
jne 0x43d3ec
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.0049cd60
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
call fcn.004383d0
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
cmp word [eax], 0
je 0x43d1d6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43d5d9
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
cmp word [eax], 0x28
jne 0x43d5d9
cmp word [eax + 2], 0x3a
je 0x43d5d9
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 0x43d311
cmp eax, 9
je 0x43d311
test ax, ax
je 0x43d526
nop dword [eax + eax]
mov ebx, edi
test edi, edi
je 0x43d371
movzx eax, word [edi]
test ax, ax
je 0x43d371
mov esi, eax
mov eax, 0x4d4670
mov edx, 0x20
nop word [eax + eax]
cmp si, dx
je 0x43d388
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x43d350
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x43d340
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d376
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.0049f2a2
add esp, 0xc
test eax, eax
jne 0x43d448
push 0xf
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004aa8c4
add esp, 0xc
lea ecx, [esp + 0x48]
xor eax, eax
xor edx, edx
mov word [esp + 0x66], ax
call fcn.00483360
lea edx, [esp + 0x48]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43d3d4
sub edx, ecx
sar edx, 1
mov dword [esp + 0x28], edx
jmp 0x43d4f9
cmp edx, 2
jb 0x43d1d2
mov eax, dword [esp + 0x74]
mov ecx, 0x4d75c4
mov eax, dword [eax]
lea eax, [eax + edx*2]
add eax, 0xfffffffc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43d42c
test dx, dx
je 0x43d428
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43d42c
add eax, 4
add ecx, 4
test dx, dx
jne 0x43d406
xor eax, eax
jmp 0x43d431
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x74]
test eax, eax
jne 0x43d1d6
xor bh, bh
mov byte [esp + 0x1c], bh
jmp 0x43d1d6
push 5
push str.LTrim
push edi
call fcn.0049f2a2
add esp, 0xc
test eax, eax
jne 0x43d470
xor ecx, ecx
cmp word [edi + 0xa], 0x30
sete cl
inc ecx
mov dword [esp + 0x38], ecx
jmp 0x43d4f9
push 5
push str.RTrim
push edi
call fcn.0049f2a2
add esp, 0xc
test eax, eax
jne 0x43d490
cmp word [edi + 0xa], 0x30
setne byte [esp + 0x16]
jmp 0x43d4f9
mov eax, ebx
sub eax, edi
sar eax, 1
push eax
push str.Comments
push edi
call fcn.0049f2a2
add esp, 0xc
test eax, eax
jne 0x43d4b3
mov dword [esp + 0x20], 2
jmp 0x43d4f9
movzx eax, word [edi]
cmp eax, 0x60
jne 0x43d4c9
cmp word [edi + 2], 0
jne 0x43d4c9
mov byte [esp + 0x17], 1
jmp 0x43d4f9
mov edx, edi
test ax, ax
je 0x43d4f4
mov ecx, eax
cmp cx, 0x28
je 0x43d9b8
cmp cx, 0x29
je 0x43d9b8
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
jne 0x43d4d2
test ebp, ebp
cmove ebp, edi
mov word [ebx], si
mov edi, ebx
mov eax, esi
cmp ax, 0x20
je 0x43d50c
cmp ax, 9
jne 0x43d515
movzx eax, word [edi + 2]
add edi, 2
jmp 0x43d500
test ax, ax
jne 0x43d330
test ebp, ebp
jne 0x43d9ca
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 0x43d58a
mov edi, dword [ebx]
xor eax, eax
cmp word [edi + esi*2], bp
lea ecx, [edi + esi*2]
je 0x43d580
movzx edx, word [ecx + eax*2]
test dx, dx
je 0x43d580
cmp edx, 0x60
jne 0x43d579
cmp word [ecx + eax*2 + 2], 0
je 0x43d579
inc eax
inc eax
cmp word [ecx + eax*2], bp
jne 0x43d562
add esi, eax
cmp word [edi + esi*2], 0
je 0x43d5bb
inc esi
mov ecx, dword [ebx]
lea eax, [esi + esi]
cmp word [ecx + eax], 0
je 0x43d5af
movzx eax, word [ecx + eax]
cmp eax, 0x22
je 0x43d5af
cmp eax, 0x27
je 0x43d5af
inc esi
lea eax, [esi + esi]
cmp word [ecx + eax], 0
jne 0x43d596
movzx ebp, word [ecx + esi*2]
test bp, bp
je 0x43d5bb
inc esi
jmp 0x43d550
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 0x43d1ce
mov dword [esp + 0x20], 0
test ecx, ecx
jne 0x43d9bb
jmp 0x43d1d2
cmp edx, 0xffffffff
je 0x43da00
mov ecx, dword [esp + 0x74]
cmp edx, 0xfffffffe
je 0x43d1d6
mov eax, ecx
mov edi, dword [eax]
cmp word [edi], 0x29
jne 0x43d65d
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 0x43d62d
cmp ecx, 9
jne 0x43d637
cmp eax, edi
je 0x43d63f
sub eax, 2
dec edx
jmp 0x43d620
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x43d646
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 0x43d8dd
cmp dword [esp + 0x24], 0
jne 0x43d6c4
test bp, bp
jne 0x43d6c4
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x43d6c4
mov eax, dword [edi]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x7f
ja 0x43d69a
push eax
call fcn.004a36e0
add esp, 4
test eax, eax
jne 0x43d69a
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp word [eax + ecx*2 - 2], 0x5f
jne 0x43d6c0
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
cmp eax, 0x4001
jae 0x43d6c0
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 0x43d732
mov edi, dword [eax]
cmp word [edi], 0
je 0x43d729
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x43d6f2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d6e3
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
lea eax, [edi + eax*2]
movzx edx, word [eax]
cmp edx, 0x20
je 0x43d705
cmp edx, 9
jne 0x43d70f
cmp eax, edi
je 0x43d720
sub eax, 2
dec ecx
jmp 0x43d6f8
xor edx, edx
mov word [eax + 2], dx
mov eax, dword [esp + 0x74]
lea edi, [eax + 4]
mov dword [edi], ecx
jmp 0x43d735
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x74]
xor ecx, ecx
lea edi, [eax + 4]
mov dword [edi], ecx
jmp 0x43d735
lea edi, [eax + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, 6
jne 0x43d7ed
cmp dword [esp + 0x24], 0
jne 0x43d791
mov eax, dword [eax]
movzx edx, word [eax]
mov dword [esp + 0x44], edx
cmp edx, 0x20
je 0x43d771
cmp edx, 9
je 0x43d771
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
jmp 0x43d80e
add eax, 2
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp word [eax], dx
jne 0x43d799
lea eax, [eax + 2]
inc ecx
cmp word [eax], dx
je 0x43d782
mov dword [esp + 0x30], ecx
jmp 0x43d795
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x43d764
mov edx, dword [esp + 0x74]
xor edi, edi
test ecx, ecx
jle 0x43d768
mov eax, dword [edx]
mov ebp, dword [esp + 0x44]
nop dword [eax]
cmp word [eax], bp
jne 0x43d7bd
inc edi
add eax, 2
cmp edi, ecx
jl 0x43d7b0
mov ebp, dword [esp + 0x34]
cmp edi, ecx
jne 0x43d80b
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.0049cd60
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x74]
sub dword [eax], edi
jmp 0x43d80e
cmp ecx, 1
jne 0x43d764
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.004383d0
mov edx, dword [esp + 0x74]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
jmp 0x43d80e
lea eax, [edx + 4]
mov bh, byte [esp + 0x17]
test bh, bh
jne 0x43d81e
test bl, bl
je 0x43d8d7
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 0x43d86e
test edi, edi
jne 0x43d840
mov edi, dword [ecx + 0xc]
cmp edi, eax
jae 0x43d846
nop dword [eax]
add edi, edi
cmp edi, eax
jb 0x43d840
lea eax, [edi + edi]
push eax
push dword [ecx]
call fcn.0049f248
mov ecx, dword [esp + 0x7c]
add esp, 8
test eax, eax
je 0x43d866
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 8], edi
test eax, eax
je 0x43d9e3
test bh, bh
je 0x43d893
lea edi, [ecx + 4]
mov edx, 0x4d760c
push edi
push 0
push ecx
mov ecx, dword [ecx]
push 0xffffffffffffffff
push 1
push 0x4d7604
call fcn.00481a00
add esp, 0x18
jmp 0x43d897
mov edi, dword [esp + 0x18]
test bl, bl
je 0x43d8d7
mov ebx, dword [esp + 0x74]
mov edx, 0x4d7618
push edi
push 0
push ecx
mov ecx, dword [ebx]
push 0xffffffffffffffff
push 1
push 0x4d7610
call fcn.00481a00
add esp, 0x18
mov edx, 0x4d7624
push edi
push 0
push ecx
mov ecx, dword [ebx]
push 0xffffffffffffffff
push 1
push 0x4d761c
call fcn.00481a00
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 0x43d937
test edi, edi
jne 0x43d905
mov edi, dword [edx + 0xc]
cmp edi, eax
jae 0x43d90b
add edi, edi
cmp edi, eax
jb 0x43d905
lea eax, [edi + edi]
push eax
push dword [edx]
call fcn.0049f248
mov edx, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x43d92b
mov dword [edx], eax
mov eax, 1
mov dword [edx + 8], edi
test eax, eax
je 0x43d9e3
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 1
jle 0x43d97a
test ecx, ecx
je 0x43d97a
mov eax, dword [esp + 0x74]
cmp ebx, dword [eax]
jne 0x43d97a
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.0049cd60
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 0x43d1c0
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.0049cd60
mov eax, dword [edi]
add esp, 0xc
mov edi, dword [esp + 0x70]
mov bl, byte [esp + 0x15]
add dword [edi + 4], eax
jmp 0x43d1ce
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.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov ecx, dword [esp + 0x2c]
push 0x4cee20
push str.Out_of_memory.
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
push dword [edi]
mov ecx, dword [esp + 0x30]
push 0x4d75ec
call fcn.0040d800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14