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

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x70]
test edi, edi
mov esi, ecx
jne 0x4cb9f9
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
push ebx
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x4cba2f
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x848]
test ecx, ecx
je 0x4cba3f
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [edx + 0xc0]
cmp dword [esp + 0x58], 2
lea ecx, [esp + 0x24]
jne 0x4cba3a
call fcn.00435f20
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
call fcn.00435f20
push ebp
mov ebp, dword [esp + 0x6c]
push edi
push ebp
push ebx
mov ecx, esi
call fcn.004c26d0
test eax, eax
jne 0x4cbb48
push str.FSCommand:
push ebx
call fcn.0043b790
add esp, 8
test eax, eax
je 0x4cba80
mov edx, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, eax
call fcn.004fc940
test al, al
jne 0x4cbb48
push str.FSCommand:
push ebx
call fcn.0043b790
add esp, 8
test eax, eax
jne 0x4cbb48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
test eax, eax
je 0x4cbb54
mov ecx, dword [esi + 0x7fc]
test ecx, ecx
je 0x4cbb54
call fcn.0041d440
test eax, eax
je 0x4cbb54
mov ecx, dword [0x745870]
push 0x4c
call fcn.0040dc70
test eax, eax
je 0x4cbae0
push esi
mov ecx, eax
call fcn.004b92e0
mov edi, eax
jmp 0x4cbae2
xor edi, edi
push ebx
call fcn.0043bb40
push ebp
mov dword [edi + 0x1c], eax
call fcn.0043bb40
mov ecx, dword [esp + 0x84]
add esp, 8
push ecx
lea ecx, [edi + 0x34]
mov dword [edi + 0x20], eax
call fcn.0049e380
mov edx, dword [esp + 0x70]
push edx
call fcn.0043bb40
movzx ecx, word [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x78]
push edx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], ecx
call fcn.0043bb40
add esp, 8
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x78]
push edi
mov ecx, esi
mov dword [edi + 0x44], eax
call fcn.004c23c0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 0x68], 2
je 0x4cbb70
push eax
lea ecx, [esp + 0x6c]
call fcn.00476860
jmp 0x4cbbb7
push esi
push 0
push ebp
call fcn.004b3510
add esp, 0xc
test eax, eax
mov dword [esp + 0x78], eax
jl 0x4cbb9a
fild dword [esp + 0x78]
push esi
sub esp, 8
lea ecx, [esp + 0x74]
fstp qword [esp]
call fcn.004767d0
jmp 0x4cbbb7
test byte [esp + 0x80], 0x40
je 0x4cbbb7
mov ecx, esi
call fcn.004b4e00
push eax
push ebp
push esi
lea ecx, [esp + 0x74]
call fcn.004766d0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push ebx
call fcn.004b43c0
test al, al
je 0x4cbc4f
push 0
push edi
mov ecx, esi
call fcn.004b8e30
test al, al
jne 0x4cbc4f
mov al, byte [esi + 0x890]
test al, al
je 0x4cbc43
mov ecx, dword [esi]
push 0x74
push 3
push esi
call dword [ecx + 0xe0]
mov eax, dword [esi + 0xc64]
mov ecx, dword [eax*4 + 0x5fb3b0]
mov edx, dword [esi]
push ebx
push ecx
push 0x78
push 3
push esi
call dword [edx + 0xe0]
lea edi, [esi + 0x24]
add esp, 0x20
mov ecx, edi
call fcn.00456590
test eax, eax
je 0x4cbc43
push 0x74
push 3
push edi
call fcn.00456a70
mov edx, dword [esi + 0xc64]
mov eax, dword [edx*4 + 0x5fb3b0]
push ebx
push eax
push 0x78
push 3
push edi
call fcn.00456a70
add esp, 0x20
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
lea ecx, [esp + 0x68]
call fcn.004026f0
cmp eax, 2
jne 0x4cbd01
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.004b4510
test al, al
je 0x4cbd01
push 1
push edi
mov ecx, esi
call fcn.004b8e30
test al, al
jne 0x4cbd01
mov al, byte [esi + 0x890]
test al, al
je 0x4cbcf5
mov ecx, dword [esi]
push 0x74
push 3
push esi
call dword [ecx + 0xe0]
mov eax, dword [esi + 0xc64]
mov ecx, dword [eax*4 + 0x5fb3b0]
mov edx, dword [esi]
push ebx
push ecx
push ebp
push 0xac
push 3
push esi
call dword [edx + 0xe0]
lea edi, [esi + 0x24]
add esp, 0x24
mov ecx, edi
call fcn.00456590
test eax, eax
je 0x4cbcf5
push 0x74
push 3
push edi
call fcn.00456a70
mov edx, dword [esi + 0xc64]
mov eax, dword [edx*4 + 0x5fb3b0]
push ebx
push eax
push ebp
push 0xac
push 3
push edi
call fcn.00456a70
add esp, 0x24
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
test ebp, ebp
mov eax, ebp
jne 0x4cbd0c
mov eax, 0x5f6cb3
push eax
lea ecx, [esp + 0x14]
call fcn.0043be10
test ebp, ebp
je 0x4cbd8a
cmp byte [ebp], 0
je 0x4cbd8a
lea ecx, [esp + 0x68]
call fcn.004026f0
cmp eax, 2
jne 0x4cbd8a
test byte [esp + 0x80], 0x20
jne 0x4cbd8a
mov ecx, edi
call fcn.00486be0
cmp eax, 1
jne 0x4cbd8a
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.004b4510
test al, al
jne 0x4cbd8a
push str._blank
push ebp
call fcn.0043bfe0
add esp, 8
test al, al
jne 0x4cbd8a
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004b4ab0
push eax
lea ecx, [esp + 0x14]
call fcn.0043be30
lea ecx, [esp + 0x1c]
call fcn.00423ae0
lea ecx, [esp + 0x68]
call fcn.004026f0
cmp eax, 2
jne 0x4cbe36
test byte [esp + 0x80], 0x20
jne 0x4cbe36
mov eax, dword [esi]
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0xbc]
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
mov ebp, eax
je 0x4cbdf6
mov eax, dword [esi + 0xc68]
test eax, eax
je 0x4cbe14
mov ecx, edi
call fcn.00485b90
test eax, eax
jne 0x4cbe14
mov ecx, edi
call fcn.004edb60
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push 0xad
push edx
push ebx
push esi
call fcn.004b2d90
lea ecx, [esp + 0x28]
call fcn.00435f20
lea ecx, [esp + 0x10]
call fcn.00423ae0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push ebp
mov ecx, esi
call dword [edx + 0x4c]
jmp 0x4cbdf6
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
push edx
mov edx, dword [esi]
lea eax, [esp + 0x90]
push eax
push ebx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, eax
call fcn.004cb6d0
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00423ae0
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x54
ret 0x38