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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602361
mov eax, dword fs:[0]
push eax
sub esp, 0xab0
mov eax, dword [0x7664f8]
xor eax, esp
mov dword [esp + 0xaa8], eax
push ebx
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0xac0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
xor ebx, ebx
mov dword [esp + 0x10], esi
cmp ecx, ebx
jne 0x4c3955
xor eax, eax
jmp 0x4c407c
lea eax, [esp + 0x7b4]
push eax
push 1
push 0x60f9fc
mov dword [esp + 0x24], 1
call fcn.004d4600
test eax, eax
je 0x4c4077
lea ecx, [esp + 0x464]
push 0x1ec
push ecx
call fcn.004ffbf0
mov ecx, dword [esi]
add esp, 8
lea edx, [esp + 0x6b4]
push edx
push ebx
lea eax, [esp + 0x7bc]
push eax
call fcn.004d3c50
test eax, eax
jne 0x4c39cc
mov edx, dword [esi]
lea ecx, [esp + 0x7b4]
push ecx
push 0x60fa08
push 0x60fa14
push edx
call fcn.004d38c0
add esp, 0x10
jmp 0x4c4051
mov ecx, str.oneshot
lea eax, [esp + 0x6b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c39f8
cmp dl, bl
je 0x4c39f4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c39f8
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c39d8
xor eax, eax
jmp 0x4c39fd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4c3a3d
mov ecx, 0x60fa3c
lea eax, [esp + 0x6b4]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3a30
cmp dl, bl
je 0x4c3a2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3a30
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3a10
xor eax, eax
jmp 0x4c3a35
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c4039
lea eax, [esp + 0x9b4]
push eax
push 1
lea ecx, [esp + 0x7bc]
push ecx
mov ecx, dword [esi]
call fcn.004d3c50
lea edx, [esp + 0x7b4]
test eax, eax
jne 0x4c3a7c
mov eax, dword [esi]
push edx
push 0x60fa68
push 0x60fa74
push eax
call fcn.004d38c0
add esp, 0x10
jmp 0x4c4051
lea ecx, [esp + 0x464]
push ecx
mov ecx, dword [esi]
push 2
push edx
call fcn.004d3c50
test eax, eax
jne 0x4c3ab4
mov ecx, dword [esi]
lea eax, [esp + 0x7b4]
push eax
push str.SUBCOMMAND
push 0x60faa0
push ecx
call fcn.004d38c0
add esp, 0x10
jmp 0x4c4051
xor eax, eax
jmp 0x4c3ac0
mov cl, byte [esp + eax + 0x464]
mov byte [esp + eax + 0x694], cl
inc eax
cmp cl, bl
jne 0x4c3ac0
mov ecx, dword [0x7cf628]
push 0x60fac0
lea edx, [esp + 0x698]
push edx
lea eax, [esp + 0x46c]
push eax
call fcn.00506100
lea ecx, [esp + 0x6b4]
push ecx
mov ecx, dword [esi]
push 3
lea edx, [esp + 0x7bc]
push edx
mov dword [esp + 0x20], 3
call fcn.004d3c50
test eax, eax
je 0x4c3c8f
lea edi, [esp + 0x4cc]
lea eax, [esp + 0x674]
sub edi, eax
lea esp, [esp]
mov ecx, 0x60fac4
lea eax, [esp + 0x6b4]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3b60
cmp dl, bl
je 0x4c3b5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3b60
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3b40
xor eax, eax
jmp 0x4c3b65
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4c3c7c
lea ecx, [esp + 0x674]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x658]
push edx
lea eax, [esp + 0x6bc]
push eax
call fcn.004bfad0
test eax, eax
je 0x4c3c4a
xor esi, esi
cmp dword [0x6fbfe8], 0x2d
je 0x4c3bfa
xor eax, eax
jmp 0x4c3bb0
lea ecx, [esp + 0x654]
lea eax, [eax + 0x6fbfec]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3be0
cmp dl, bl
je 0x4c3bdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3be0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3bc0
xor eax, eax
jmp 0x4c3be5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4c3bfa
inc esi
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
cmp dword [eax + 0x6fbfe8], 0x2d
jne 0x4c3bb0
lea ecx, [esi + esi*2]
mov eax, dword [ecx*4 + 0x6fbfe8]
cmp eax, 0x2d
jne 0x4c3c27
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x6b4]
push edx
push 0x60fac8
push ecx
call fcn.004d38c0
add esp, 0xc
jmp 0x4c3c4a
mov edx, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x480], eax
lea eax, [esp + 0x674]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
cmp cl, bl
jne 0x4c3c40
mov eax, dword [esp + 0x14]
inc eax
lea ecx, [esp + 0x6b4]
push ecx
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x7bc]
push edx
add edi, 0x10
call fcn.004d3c50
test eax, eax
jne 0x4c3b30
jmp 0x4c3c8f
mov eax, dword [esp + 0x14]
lea ecx, [eax - 3]
inc eax
mov dword [esp + 0x488], ecx
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
lea edx, [esp + 0x6b4]
push edx
push edi
lea eax, [esp + 0x7bc]
push eax
xor esi, esi
call fcn.004d3c50
test eax, eax
je 0x4c3ed3
lea esp, [esp]
lea edx, [esp + 0x674]
push edx
lea eax, [esp + 0x658]
push eax
lea ecx, [esp + 0x6bc]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004bfad0
test eax, eax
je 0x4c3ead
cmp byte [esp + 0x654], bl
jne 0x4c3d20
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x67c]
push ecx
mov dword [esp + esi*4 + 0x5dc], ebx
call fcn.00500350
mov edx, dword [esp + 0x28]
mov dword [esp + esi*4 + 0x61c], edx
jmp 0x4c3eaa
mov ecx, 0x60fae4
lea eax, [esp + 0x654]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3d50
cmp dl, bl
je 0x4c3d4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3d50
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3d30
xor eax, eax
jmp 0x4c3d55
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c3d69
mov dword [esp + esi*4 + 0x5d0], 0x2b
jmp 0x4c3ead
mov ecx, 0x60fae8
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3d95
cmp dl, bl
je 0x4c3d91
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3d95
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3d75
xor eax, eax
jmp 0x4c3d9a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c3dae
mov dword [esp + esi*4 + 0x5d0], 0x2a
jmp 0x4c3ead
mov ecx, 0x60faec
lea eax, [esp + 0x654]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3de0
cmp dl, bl
je 0x4c3ddc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3de0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3dc0
xor eax, eax
jmp 0x4c3de5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c3df9
mov dword [esp + esi*4 + 0x5d0], 0x29
jmp 0x4c3ead
mov ecx, 0x60faf0
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3e25
cmp dl, bl
je 0x4c3e21
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3e25
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3e05
xor eax, eax
jmp 0x4c3e2a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c3e3b
mov dword [esp + esi*4 + 0x5d0], 0x2c
jmp 0x4c3ead
mov ecx, 0x60faf4
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3e67
cmp dl, bl
je 0x4c3e63
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3e67
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c3e47
xor eax, eax
jmp 0x4c3e6c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c3e7d
mov dword [esp + esi*4 + 0x5d0], 0x25
jmp 0x4c3ead
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x65c]
push edx
mov dword [esp + esi*4 + 0x5dc], 0x2d
call fcn.00500350
mov eax, dword [esp + 0x2c]
mov dword [esp + esi*4 + 0x61c], eax
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x6b4]
push ecx
mov ecx, dword [eax]
inc edi
push edi
lea edx, [esp + 0x7bc]
push edx
inc esi
call fcn.004d3c50
test eax, eax
jne 0x4c3cc0
lea eax, [esp + 0x9b4]
mov dword [esp + 0x5cc], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4c3ef4
sub eax, ecx
push eax
lea ecx, [esp + 0x9b8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402a80
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0xad4], ebx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00402950
mov ecx, 0x7b
lea esi, [esp + 0x464]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x268]
mov byte [esp + 0xad4], 1
mov dword [esp + 0x280], 0xf
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x26c], bl
call fcn.00402950
mov ecx, 0x7b
lea esi, [esp + 0x70]
lea edi, [esp + 0x278]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x25c]
push ecx
mov ecx, dword [eax + 0x5c]
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xad0], 2
call fcn.004c5af0
cmp dword [esp + 0x274], 0x10
jb 0x4c3fcb
mov ecx, dword [esp + 0x260]
push ecx
call fcn.0055c72e
add esp, 4
mov edi, 0x10
mov esi, 0xf
mov dword [esp + 0x274], esi
mov dword [esp + 0x270], ebx
mov byte [esp + 0x260], bl
cmp dword [esp + 0x6c], edi
jb 0x4c3ffd
mov edx, dword [esp + 0x58]
push edx
call fcn.0055c72e
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0xac8], 0xffffffff
cmp dword [esp + 0x3c], edi
jb 0x4c4027
mov eax, dword [esp + 0x28]
push eax
call fcn.0055c72e
add esp, 4
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jmp 0x4c4051
mov edx, dword [esi]
lea ecx, [esp + 0x6b4]
push ecx
push 0x60fa48
push edx
call fcn.004d38c0
add esp, 0xc
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x7b4]
push ecx
mov ecx, dword [esi]
inc eax
push eax
push 0x60f9fc
mov dword [esp + 0x24], eax
call fcn.004d4600
test eax, eax
jne 0x4c3979
mov eax, 1
mov ecx, dword [esp + 0xac0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xaa8]
xor ecx, esp
call fcn.0055c6a2
mov esp, ebp
pop ebp
ret