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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x655d38
mov eax, dword fs:[0]
push eax
sub esp, 0xab0
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0xaa8], eax
push ebx
push esi
push edi
mov eax, dword [0x7d9a88]
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 0x4cb4b5
xor eax, eax
jmp 0x4cbbdc
lea eax, [esp + 0x7b4]
push eax
push 1
push 0x663ef4
mov dword [esp + 0x24], 1
call fcn.004dca70
test eax, eax
je 0x4cbbd7
lea ecx, [esp + 0x464]
push 0x1ec
push ecx
call fcn.0050cd20
mov ecx, dword [esi]
add esp, 8
lea edx, [esp + 0x6b4]
push edx
push ebx
lea eax, [esp + 0x7bc]
push eax
call fcn.004dc0c0
test eax, eax
jne 0x4cb52c
mov edx, dword [esi]
lea ecx, [esp + 0x7b4]
push ecx
push 0x663f00
push 0x663f0c
push edx
call fcn.004dbd30
add esp, 0x10
jmp 0x4cbbb1
mov ecx, str.oneshot
lea eax, [esp + 0x6b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb558
cmp dl, bl
je 0x4cb554
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb558
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb538
xor eax, eax
jmp 0x4cb55d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4cb59d
mov ecx, 0x663f34
lea eax, [esp + 0x6b4]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb590
cmp dl, bl
je 0x4cb58c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb590
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb570
xor eax, eax
jmp 0x4cb595
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4cbb99
lea eax, [esp + 0x9b4]
push eax
push 1
lea ecx, [esp + 0x7bc]
push ecx
mov ecx, dword [esi]
call fcn.004dc0c0
lea edx, [esp + 0x7b4]
test eax, eax
jne 0x4cb5dc
mov eax, dword [esi]
push edx
push 0x663f60
push 0x663f6c
push eax
call fcn.004dbd30
add esp, 0x10
jmp 0x4cbbb1
lea ecx, [esp + 0x464]
push ecx
mov ecx, dword [esi]
push 2
push edx
call fcn.004dc0c0
test eax, eax
jne 0x4cb614
mov ecx, dword [esi]
lea eax, [esp + 0x7b4]
push eax
push str.SUBCOMMAND
push 0x663f98
push ecx
call fcn.004dbd30
add esp, 0x10
jmp 0x4cbbb1
xor eax, eax
jmp 0x4cb620
mov cl, byte [esp + eax + 0x464]
mov byte [esp + eax + 0x694], cl
inc eax
cmp cl, bl
jne 0x4cb620
mov ecx, dword [0x842660]
push 0x663fb8
lea edx, [esp + 0x698]
push edx
lea eax, [esp + 0x46c]
push eax
call fcn.00512b70
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.004dc0c0
test eax, eax
je 0x4cb7ef
lea edi, [esp + 0x4cc]
lea eax, [esp + 0x674]
sub edi, eax
lea esp, [esp]
mov ecx, 0x663fbc
lea eax, [esp + 0x6b4]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb6c0
cmp dl, bl
je 0x4cb6bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb6c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb6a0
xor eax, eax
jmp 0x4cb6c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4cb7dc
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.004c7140
test eax, eax
je 0x4cb7aa
xor esi, esi
cmp dword [0x76b328], 0x2d
je 0x4cb75a
xor eax, eax
jmp 0x4cb710
lea ecx, [esp + 0x654]
lea eax, [eax + 0x76b32c]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb740
cmp dl, bl
je 0x4cb73c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb740
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb720
xor eax, eax
jmp 0x4cb745
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4cb75a
inc esi
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
cmp dword [eax + 0x76b328], 0x2d
jne 0x4cb710
lea ecx, [esi + esi*2]
mov eax, dword [ecx*4 + 0x76b328]
cmp eax, 0x2d
jne 0x4cb787
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x6b4]
push edx
push 0x663fc0
push ecx
call fcn.004dbd30
add esp, 0xc
jmp 0x4cb7aa
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 0x4cb7a0
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.004dc0c0
test eax, eax
jne 0x4cb690
jmp 0x4cb7ef
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.004dc0c0
test eax, eax
je 0x4cba33
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.004c7140
test eax, eax
je 0x4cba0d
cmp byte [esp + 0x654], bl
jne 0x4cb880
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.0050d480
mov edx, dword [esp + 0x28]
mov dword [esp + esi*4 + 0x61c], edx
jmp 0x4cba0a
mov ecx, 0x663fdc
lea eax, [esp + 0x654]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb8b0
cmp dl, bl
je 0x4cb8ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb8b0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb890
xor eax, eax
jmp 0x4cb8b5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4cb8c9
mov dword [esp + esi*4 + 0x5d0], 0x2b
jmp 0x4cba0d
mov ecx, 0x663fe0
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb8f5
cmp dl, bl
je 0x4cb8f1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb8f5
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb8d5
xor eax, eax
jmp 0x4cb8fa
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4cb90e
mov dword [esp + esi*4 + 0x5d0], 0x2a
jmp 0x4cba0d
mov ecx, 0x663fe4
lea eax, [esp + 0x654]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb940
cmp dl, bl
je 0x4cb93c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb940
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb920
xor eax, eax
jmp 0x4cb945
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4cb959
mov dword [esp + esi*4 + 0x5d0], 0x29
jmp 0x4cba0d
mov ecx, 0x663fe8
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb985
cmp dl, bl
je 0x4cb981
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb985
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb965
xor eax, eax
jmp 0x4cb98a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4cb99b
mov dword [esp + esi*4 + 0x5d0], 0x2c
jmp 0x4cba0d
mov ecx, 0x663fec
lea eax, [esp + 0x654]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4cb9c7
cmp dl, bl
je 0x4cb9c3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4cb9c7
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4cb9a7
xor eax, eax
jmp 0x4cb9cc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4cb9dd
mov dword [esp + esi*4 + 0x5d0], 0x25
jmp 0x4cba0d
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.0050d480
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.004dc0c0
test eax, eax
jne 0x4cb820
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 0x4cba54
sub eax, ecx
push eax
lea ecx, [esp + 0x9b8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402760
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.00402570
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.00402570
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 + 0x7c]
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xad0], 2
call fcn.004cd770
cmp dword [esp + 0x274], 0x10
jb 0x4cbb2b
mov ecx, dword [esp + 0x260]
push ecx
call fcn.005ae7f2
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 0x4cbb5d
mov edx, dword [esp + 0x58]
push edx
call fcn.005ae7f2
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 0x4cbb87
mov eax, dword [esp + 0x28]
push eax
call fcn.005ae7f2
add esp, 4
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jmp 0x4cbbb1
mov edx, dword [esi]
lea ecx, [esp + 0x6b4]
push ecx
push 0x663f40
push edx
call fcn.004dbd30
add esp, 0xc
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x7b4]
push ecx
mov ecx, dword [esi]
inc eax
push eax
push 0x663ef4
mov dword [esp + 0x24], eax
call fcn.004dca70
test eax, eax
jne 0x4cb4d9
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.005ae766
mov esp, ebp
pop ebp
ret