Function at 0x483928
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x16
add esp, 0xfffff004
push eax
dec eax
jne 0x483931
mov eax, dword [ebp - 4]
add esp, 0xfffff608
push ebx
push esi
push edi
mov edi, eax
mov esi, 0x4d3c58
mov eax, 0x4ad214
call fcn.004980b0
cmp byte [0x4ac68a], 0
jne 0x4839af
mov word [ebp - 0x3060], 8
mov eax, esi
call fcn.0040fa70
add dword [ebp - 0x3054], 4
lea eax, [esi + 0xf8]
call fcn.0040fa70
add dword [ebp - 0x3054], 4
lea eax, [esi + 0x1f0]
call fcn.0040fa70
add dword [ebp - 0x3054], 4
inc dword [ebp - 0x3054]
sub dword [ebp - 0x3054], 0xd
inc byte [0x4ac68a]
mov dword [0x4d3c4c], esi
mov eax, esi
call fcn.0040fbc4
lea eax, [esi + 0xf8]
call fcn.0040fbc4
lea eax, [esi + 0x1f0]
call fcn.0040fbc4
cmp dword [0x4c7804], 0
setne dl
and edx, 1
mov byte [esi + 0x6ee], dl
mov byte [esi + 0x6ef], 0
test edi, edi
jne 0x483a22
push esi
push 0x47e45a
push dword [0x4c4e64]
push 0x4ac83b
push dword [0x4b2148]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x483a22
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
jmp 0x4841de
push 0x47f06f
xor ecx, ecx
xor edx, edx
mov eax, 7
call fcn.00472a98
mov eax, 0x4ac845
call fcn.00474d44
test edi, edi
je 0x483b07
push 0x4bcc89
lea edx, [ebp - 0x347c]
push edx
call fcn.00497c80
add esp, 8
mov cl, 1
mov byte [esi + 0x6ea], cl
mov byte [esi + 0x6e9], cl
mov byte [esi + 0x6e8], 0
mov edx, 0x4ac857
lea eax, [esi + 0x1f0]
call fcn.0040fbf4
mov ebx, dword [0x4be4b8]
mov eax, esi
mov edx, ebx
call fcn.0040e15c
lea edx, [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.00401b6c
lea edx, [ebx + 0x20]
lea eax, [esi + 0x20]
call fcn.0040e18c
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov edx, dword [ebx + 0x2c]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x30], ecx
push esi
push edi
lea edi, [esi + 0x34]
lea esi, [ebx + 0x34]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [esi + 0x74]
lea esi, [ebx + 0x74]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [esi + 0xb4]
lea esi, [ebx + 0xb4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebx + 0xf4]
mov dword [esi + 0xf4], eax
jmp 0x483b9c
mov byte [ebp - 0x347c], 0
cmp byte [esi + 0x2e8], 0
je 0x483b9c
cmp byte [esi + 0x6eb], 0
je 0x483b38
push 0x4ac859
lea edx, [ebp - 0x347c]
push edx
call fcn.00497ba4
add esp, 8
cmp byte [esi + 0x6ec], 0
je 0x483b55
push 0x4ac85b
lea ecx, [ebp - 0x347c]
push ecx
call fcn.00497ba4
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x483b72
push 0x4ac85d
lea eax, [ebp - 0x347c]
push eax
call fcn.00497ba4
add esp, 8
push 0x4ac85f
lea edx, [ebp - 0x347c]
push edx
call fcn.00497ba4
add esp, 8
lea ecx, [esi + 0x2e8]
push ecx
lea eax, [ebp - 0x347c]
push eax
call fcn.00497ba4
add esp, 8
cmp dword [0x4c7804], 0
je 0x483bbb
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c5bc4
call fcn.0045756c
mov word [ebp - 0x3060], 0x14
xor edx, edx
push 0
mov dword [0x4d3c50], edx
mov byte [0x4d3c55], 0
mov byte [0x4d3c54], 1
push 0
cmp byte [esi + 0x6e8], 0
mov ecx, 1
je 0x483bf5
cmp byte [esi + 0x6ee], 0
je 0x483bf6
dec ecx
test edi, edi
jne 0x483c02
lea edx, [esi + 0xf8]
jmp 0x483c04
mov edx, edi
lea eax, [ebp - 0x242c]
call fcn.00413298
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x20
lea eax, [ebp - 0x451c]
call fcn.00413d60
lea eax, [ebp - 0x44f0]
call fcn.00413d60
lea eax, [ebp - 0x44c4]
call fcn.00413d60
jmp 0x484106
call fcn.0047cc10
mov eax, dword [0x4d3c50]
test eax, eax
je 0x483c66
mov edx, eax
mov eax, dword [0x4c4e70]
call fcn.0047de31
xor edx, edx
mov dword [0x4d3c50], edx
xor ecx, ecx
mov cl, byte [ebp - 0x5130]
cmp ecx, 0x2e
jne 0x483c88
xor eax, eax
mov al, byte [ebp - 0x512f]
cmp eax, 0x5c
jne 0x483c88
lea edx, [ebp - 0x512e]
jmp 0x483c8e
lea edx, [ebp - 0x5130]
push edx
lea eax, [ebp - 0x5930]
push eax
call fcn.00497c80
add esp, 8
lea eax, [ebp - 0x5930]
mov edx, 0x50
call fcn.0047d4c4
push eax
mov eax, 0x523
call fcn.004125d0
push eax
lea edx, [ebp - 0x5530]
push edx
call fcn.0049abd0
add esp, 0xc
lea ecx, [ebp - 0x5530]
push ecx
push 0x9b
push dword [0x4c4e70]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [esi + 0x6ea], 0
je 0x483fbb
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov byte [ebp - 0x3071], 0
lea eax, [esi + 0x1f0]
call fcn.0040fdbc
jmp 0x483d39
lea edx, [ebp - 0x5130]
xor ecx, ecx
mov eax, edi
call fcn.00412990
test al, al
je 0x483d39
mov bl, 1
xor eax, eax
mov al, byte [edi]
cmp eax, 0x2a
jne 0x483d4a
cmp byte [edi + 1], 0
jne 0x483d4a
mov byte [ebp - 0x3071], 1
jmp 0x483d4a
lea eax, [esi + 0x1f0]
call fcn.0040fd3c
mov edi, eax
test eax, eax
jne 0x483d0c
test bl, bl
je 0x483fbb
cmp byte [ebp - 0x3071], 0
je 0x483d80
cmp byte [esi + 0x6ee], 0
jne 0x483d80
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x5130]
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.00457674
mov ebx, eax
test bl, bl
je 0x483fbb
cmp byte [ebp - 0x347c], 0
setne al
and eax, 1
push eax
push 1
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c5bc4
call fcn.00455fa0
mov word [ebp - 0x3060], 0x20
cmp eax, 2
je 0x484128
dec eax
jne 0x483fbb
mov byte [ebp - 0x5d30], 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x5d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c5bc4
call fcn.00457674
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040f224
test eax, eax
je 0x483e8c
lea edx, [ebp - 0x5d30]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x483e1a
xor ebx, ebx
jmp 0x483e8c
mov edx, 0x4ac861
lea eax, [ebp - 0x5d30]
call fcn.0040c05c
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040f224
test eax, eax
je 0x483e54
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x483e54
xor ebx, ebx
jmp 0x483e8c
mov edx, 0x4ac865
lea eax, [ebp - 0x5d30]
call fcn.0040c05c
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040f224
test eax, eax
je 0x483e8c
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x483e8c
xor ebx, ebx
test bl, bl
je 0x484106
cmp byte [ebp - 0x347c], 0
jne 0x483f1b
xor edi, edi
jmp 0x483ef3
inc edi
test edi, 0x1f
jne 0x483eaf
call fcn.0047cc10
mov eax, esi
call fcn.0040fdbc
jmp 0x483ee6
lea edx, [ebp - 0x6960]
mov ecx, 3
mov eax, ebx
call fcn.00412990
test al, al
je 0x483ee6
mov ecx, 0x4ac718
lea edx, [ebp - 0x6960]
lea eax, [ebp - 0x5130]
call fcn.0048424c
jmp 0x483ef3
mov eax, esi
call fcn.0040fd3c
mov ebx, eax
test eax, eax
jne 0x483eb8
lea edx, [ebp - 0x6960]
mov eax, 0x4c5bc4
mov cl, 1
call fcn.00456b08
test eax, eax
je 0x484106
cmp dword [0x4c7814], 0
je 0x483ea1
jmp 0x484106
lea edx, [ebp - 0x69fc]
mov eax, 0x4c5bc4
call fcn.004575cc
call fcn.00449558
mov ecx, 0x4bdcb8
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
call fcn.00457598
mov edx, dword [ebp - 0x69ec]
mov dword [0x4bc468], edx
mov eax, dword [0x4be4b8]
call fcn.0040fbc4
mov eax, esi
call fcn.0040fdbc
jmp 0x483f6f
mov edx, ebx
mov eax, dword [0x4be4b8]
call fcn.0040fbf4
mov eax, esi
call fcn.0040fd3c
mov ebx, eax
test eax, eax
jne 0x483f63
mov byte [0x4bbb86], 1
xor edx, edx
mov dword [0x4bbb1c], edx
xor ecx, ecx
mov dword [0x4bbb48], ecx
lea eax, [ebp - 0x347c]
push eax
push 0x4ac869
push 0x4bcc88
call fcn.0049abd0
add esp, 0xc
mov eax, 0x4c5bc4
call fcn.00452c38
jmp 0x484106
cmp byte [esi + 0x6e9], 0
je 0x484106
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov eax, esi
call fcn.0040fdbc
jmp 0x483ff6
lea edx, [ebp - 0x5130]
mov ecx, 3
mov eax, edi
call fcn.00412990
test al, al
je 0x483ff6
mov bl, 1
jmp 0x484003
mov eax, esi
call fcn.0040fd3c
mov edi, eax
test eax, eax
jne 0x483fdc
test bl, bl
je 0x484106
cmp byte [ebp - 0x347c], 0
jne 0x484044
push 0
lea edx, [ebp - 0x5130]
push edx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f7a4
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
xor edx, edx
call fcn.0040f7a4
jmp 0x484106
mov word [ebp - 0x3060], 0x2c
lea eax, [ebp - 0x304c]
call fcn.00409658
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x38
push 1
push 0
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x304c]
call fcn.0040974c
test al, al
jne 0x48409e
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.00409708
jmp 0x484106
push 0
lea ecx, [ebp - 0x5130]
push ecx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f7a4
jmp 0x4840cb
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
mov edx, ebx
call fcn.0040f7a4
lea edx, [ebp - 0x169fc]
lea eax, [ebp - 0x304c]
mov ecx, 0x10000
call fcn.00409cd4
mov ebx, eax
test eax, eax
jne 0x4840b8
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.00409708
mov word [ebp - 0x3060], 0x20
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x242c]
call fcn.004133cc
test eax, eax
jne 0x484128
cmp dword [0x4c7814], 0
je 0x483c44
mov byte [0x4d3c54], 0
mov eax, dword [0x4d3c50]
test eax, eax
je 0x48414c
mov edx, eax
mov eax, dword [0x4c4e70]
call fcn.0047de31
xor edx, edx
mov dword [0x4d3c50], edx
mov byte [0x4d3c55], 0
mov eax, 0x270
call fcn.004125d0
push eax
push 0x9b
push dword [0x4c4e70]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x4c7814], 0
je 0x484184
push dword [0x4c4e70]
call sub.USER32.DLL_DestroyWindow
jmp 0x484189
call fcn.00474a48
cmp dword [0x4c7804], 0
je 0x4841bb
cmp byte [esi + 0x6ef], 0
jne 0x4841b1
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c5bc4
call fcn.004573d4
mov eax, 0x4c4e78
call fcn.0045a154
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x242c]
mov edx, 2
call fcn.00413370
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret