Function at 0x417fe0
Capabilities:
Check if file exists
Get file attributes
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c03e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
mov eax, dword [0x691b38]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], edi
jne 0x41801a
mov eax, 0x691b3c
push str.idmmzcc.xpi
push eax
lea eax, [ebp - 0x300]
push 0x667010
push eax
call fcn.0059261e
add esp, 0x10
lea ecx, [ebp - 0x300]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41875d
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], di
mov esi, dword [0x691b58]
mov byte [ebp - 4], 1
cmp esi, edi
jne 0x418069
mov esi, 0x691b5c
mov edx, str._s_scomponents2idmmzcc.dll
test edx, edx
je 0x41816c
cmp esi, edi
je 0x41816c
mov ecx, str.idmmzcc5
test ecx, ecx
je 0x41816c
push edx
lea ecx, [ebp - 0x38]
call fcn.00401e50
mov bl, 2
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00403af0
push str.idmmzcc5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00403af0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x418146
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x418173
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418505
mov esi, dword [0x691b58]
test esi, esi
jne 0x418192
mov esi, 0x691b5c
mov edx, str._s_scomponents2idmcchandler2.dll
test edx, edx
je 0x418292
test esi, esi
je 0x418292
mov eax, str.idmmzcc5
test eax, eax
je 0x418292
push edx
lea ecx, [ebp - 0x38]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00403af0
mov bl, 6
push str.idmmzcc5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x41826f
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41829c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418505
mov esi, dword [0x691b58]
test esi, esi
jne 0x4182bb
mov esi, 0x691b5c
mov edx, str._s_schromeidmmzcc.jar
test edx, edx
je 0x4183bb
test esi, esi
je 0x4183bb
mov eax, str.idmmzcc5
test eax, eax
je 0x4183bb
push edx
lea ecx, [ebp - 0x38]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00403af0
mov bl, 9
push str.idmmzcc5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x418398
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4183c5
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418505
mov esi, dword [0x691b58]
test esi, esi
jne 0x4183e4
mov esi, 0x691b5c
mov edx, str._s_scomponents8idmmzcc.dll
test edx, edx
je 0x4184e4
test esi, esi
je 0x4184e4
mov eax, str.idmmzcc5
test eax, eax
je 0x4184e4
push edx
lea ecx, [ebp - 0x38]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00403af0
mov bl, 0xc
push str.idmmzcc5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x4184c1
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4184ee
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418505
mov eax, dword [ebp + 8]
test eax, eax
je 0x4186a4
lea edx, [ebp - 0x300]
push edx
call fcn.0057f410
mov esi, eax
add esp, 4
test esi, esi
je 0x418561
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0057f810
mov ebx, dword [ebp - 0x78]
add esp, 8
xor edi, edi
cmp edi, dword [ebp - 0x64]
jae 0x418558
mov ecx, dword [ebp + 8]
push ebx
push ecx
push esi
call fcn.00417010
add esp, 0xc
test eax, eax
jne 0x418558
mov eax, dword [ebp - 0x64]
inc edi
cmp edi, eax
jae 0x418558
push esi
call fcn.0057fc60
add esp, 4
test eax, eax
je 0x41852c
push esi
call fcn.00580210
add esp, 4
call fcn.00417d70
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4c], ax
mov esi, dword [0x691b58]
mov byte [ebp - 4], 0xe
cmp esi, eax
jne 0x418585
mov esi, 0x691b5c
mov edx, 0x665ff4
test edx, edx
je 0x418688
test esi, esi
je 0x418688
mov ecx, str.idmmzcc5
test ecx, ecx
je 0x418688
push edx
lea ecx, [ebp - 0x38]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.00403af0
mov bl, 0x10
push str.idmmzcc5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403af0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x50], edx
je 0x418662
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x50]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.00401070
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41868f
lea eax, [ebp - 0x4c]
push eax
call fcn.00417cf0
add esp, 4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401070
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x418772
lea eax, [ebp - 0x14]
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SoftwareMozilla
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x418751
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SoftwareMozillaFirefox
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x418751
mov eax, dword [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
je 0x418778
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x58], ax
mov esi, dword [0x691b58]
mov byte [ebp - 4], 0x12
cmp esi, eax
jne 0x418797
mov esi, 0x691b5c
mov edx, 0x665ff4
test edx, edx
je 0x418897
test esi, esi
je 0x418897
mov eax, str.idmmzcc5
test eax, eax
je 0x418897
push edx
lea ecx, [ebp - 0x38]
call fcn.00401e50
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.00403af0
push str.idmmzcc5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00403af0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x5c], edx
je 0x418873
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x5c]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.00401070
lea edx, [ebp - 0xf8]
push 0x666c94
push edx
call fcn.005918aa
lea eax, [ebp - 0xf8]
push eax
call fcn.00591712
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x4188da
mov dx, word [ebp + ecx*2 - 0xf8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xf8], dx
inc ecx
jmp 0x4188b9
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
push 0
call fcn.0040cab0
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], eax
push ecx
push 0xf003f
push 0
push str.SoftwareMozillaSeaMonkeyExtensions
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4189a7
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SoftwareMozillaSeaMonkey
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4189e2
mov eax, dword [ebp - 0x14]
push eax
call edi
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x691568
push 0
push str.SoftwareMozillaSeaMonkeyExtensions
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4189e2
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4189a3
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x58]
push eax
call fcn.00591712
mov ecx, dword [ebp - 0x14]
add esp, 4
lea edx, [eax + eax + 2]
lea eax, [ebp - 0xf8]
push edx
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
push edx
jmp 0x4189e0
mov esi, eax
jmp 0x418979
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x418b0f
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x58]
push eax
call fcn.00591712
mov edx, dword [ebp - 0x14]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [ebp - 0xf8]
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x14]
push eax
call edi
mov ebx, dword [ebp + 8]
xor esi, esi
cmp ebx, esi
je 0x418bac
mov eax, dword [ebp - 0x5c]
cmp eax, esi
jne 0x4189f9
lea eax, [ebp - 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x418bac
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x70], si
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], esi
mov word [ebp - 0x64], si
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x4c], si
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x40], si
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov word [ebp - 0x34], si
mov eax, dword [0x691b58]
mov byte [ebp - 4], 0x1b
cmp eax, esi
jne 0x418a59
mov eax, 0x691b5c
push eax
push str._sidmmzcc
lea ecx, [ebp - 0x74]
call fcn.00415cc0
mov eax, dword [0x691b58]
cmp eax, esi
jne 0x418a75
mov eax, 0x691b5c
push eax
push str._sidmmzcc2
lea ecx, [ebp - 0x68]
call fcn.00415cc0
mov ecx, 0x691b58
call fcn.00401ed0
push eax
push str._sidmmzcc3
lea ecx, [ebp - 0x50]
call fcn.00415cc0
mov ecx, 0x691b58
call fcn.00401ed0
push eax
push str._sidmmzcc01
lea ecx, [ebp - 0x2c]
call fcn.00415cc0
mov ecx, 0x691b58
call fcn.00401ed0
push eax
push str._sidmmzcc02
lea ecx, [ebp - 0x44]
call fcn.00415cc0
mov ecx, 0x691b58
call fcn.00401ed0
push eax
push str._sidmmzcc03
lea ecx, [ebp - 0x38]
call fcn.00415cc0
lea ecx, [ebp - 0x74]
call fcn.00401ed0
push eax
call edi
cmp eax, 0xffffffff
je 0x418b16
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x74]
call fcn.00401ed0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call esi
jmp 0x418b1c
mov esi, eax
jmp 0x4189b8
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x68]
call fcn.00401ed0
push eax
call edi
cmp eax, 0xffffffff
je 0x418b40
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x68]
call fcn.00401ed0
push eax
call esi
lea ecx, [ebp - 0x50]
call fcn.00401ed0
push eax
call edi
cmp eax, 0xffffffff
je 0x418b64
lea ecx, [ebp - 0x38]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x50]
call fcn.00401ed0
push eax
call esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x19
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x16
call fcn.00401070
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x12
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4