Function at 0x47a230
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d2a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call dword [0x4d5314]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], esi
call fcn.004291c0
add esp, 4
mov byte [esp + 0x88], 1
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0xc]
cmp eax, esi
jle 0x47a2d2
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x47a317
cmp ecx, eax
jg 0x47a317
movzx eax, word [edi + ecx*2]
cmp ax, 0x5c
je 0x47a2d2
push 0x5c
lea edi, [esp + 0x20]
call fcn.00406b00
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, str.user2.dict
call fcn.004065b0
add esp, 8
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x20]
mov esi, dword [0x4d5364]
push ecx
call esi
test eax, eax
je 0x47a321
mov edx, dword [esp + 0x20]
push edx
mov ecx, ebp
call fcn.004795e0
mov dword [esp + 0x28], eax
jmp 0x47a479
push 0x80070057
call fcn.00402940
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str.user.dict
call fcn.004065b0
add esp, 8
mov byte [esp + 0x88], 3
mov edx, dword [esp + 0x24]
push edx
call esi
test eax, eax
je 0x47a376
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ebx, str..conv
call fcn.004065b0
mov eax, dword [eax]
add esp, 8
push eax
mov ebx, 1
call esi
test eax, eax
jne 0x47a37a
mov byte [esp + 0x1b], bl
jmp 0x47a37f
mov bl, byte [esp + 0x38]
mov byte [esp + 0x1b], 0
test bl, 1
je 0x47a3a4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a3a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x20]
je 0x47a3c2
mov edx, dword [esp + 0x24]
push ebp
call fcn.00479ad0
mov dword [esp + 0x28], eax
jmp 0x47a451
xor esi, esi
push esi
push 0x80
push 4
push esi
push 3
push 0xc0000000
push ecx
call dword [0x4d52cc]
cmp eax, 0xffffffff
jne 0x47a3e7
call fcn.00402e30
jmp 0x47a3ea
mov dword [ebp + 0x28], eax
push 0x3c
lea edx, [esp + 0x44]
push esi
push edx
call fcn.004b0720
mov ecx, dword [ebp + 0x28]
add esp, 0xc
push esi
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x4c], 0x51554432
mov word [esp + 0x50], 3
mov word [esp + 0x52], si
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [0x4d5294]
cmp eax, 0xffffffff
jne 0x47a431
call fcn.00402e30
mov ecx, dword [ebp + 0x28]
push esi
lea edx, [esp + 0x30]
push edx
push 0x40
lea eax, [esp + 0x48]
push eax
push ecx
call dword [0x4d52a4]
cmp eax, esi
jne 0x47a451
call fcn.00402e30
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a479
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov byte [eax + 0x18], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47a48e
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a4b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a4da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [0x4d5314]
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004a91d5
add esp, 0x78
ret 8