Function at 0x404010
Capabilities:
Check if file exists
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46e8ec
mov eax, dword fs:[0]
push eax
mov eax, 0x11ec
call fcn.00426d50
mov eax, dword [0x4831a0]
xor eax, esp
mov dword [esp + 0x11e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4831a0]
xor eax, esp
push eax
lea eax, [esp + 0x1200]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
call fcn.00405ae0
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1208], ebx
call fcn.00405ae0
mov eax, dword [esi]
mov dword [esp + 0x20], eax
push ebx
push str.url_list
lea ecx, [esp + 0x28]
mov byte [esp + 0x1210], 2
call fcn.004699f0
test al, al
jne 0x404110
lea ecx, [esp + 0x20]
call fcn.00469a90
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4040c4
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.00409100
mov edx, dword [esp + 0x58]
push edx
call fcn.00412303
add esp, 0x14
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00412303
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebx
je 0x404ed0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.00409100
mov edx, dword [esp + 0x40]
push edx
call fcn.00412303
add esp, 0x14
jmp 0x404ed0
mov ecx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x18], ecx
push ebx
push 0x47bd50
lea ecx, [esp + 0x20]
mov byte [esp + 0x1210], 3
call fcn.004699f0
lea ebp, [esi + 0x10]
test al, al
je 0x4041f6
lea esp, [esp]
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00469b30
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x120c], 4
call fcn.00405b40
mov byte [esp + 0x1208], 3
cmp dword [esp + 0x134], ebp
jb 0x404184
mov eax, dword [esp + 0x120]
push eax
call fcn.00412303
add esp, 4
push 0x47bd54
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esp + 0x20]
call fcn.00469ac0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x120c], 5
call fcn.00405b40
cmp dword [esp + 0x134], ebp
jb 0x4041c5
mov edx, dword [esp + 0x120]
push edx
call fcn.00412303
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00469a90
mov eax, dword [esp + 0x20]
inc esi
mov dword [esp + 0x18], eax
push esi
push 0x47bd50
lea ecx, [esp + 0x20]
mov byte [esp + 0x1210], 3
call fcn.004699f0
test al, al
jne 0x404140
lea ecx, [esp + 0x18]
mov byte [esp + 0x1208], 2
call fcn.00469a90
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x60], eax
jne 0x404312
push 0x21
push str.updatechecker.failed_config_nourl
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
call fcn.004036b0
push ebx
push 4
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x118]
push 1
push ecx
mov byte [esp + 0x1228], 6
call fcn.0046bf80
add esp, 0x20
cmp dword [esp + 0x118], ebp
jb 0x404293
mov edx, dword [esp + 0x104]
push edx
call fcn.00412303
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00469a90
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4042c6
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.00409100
mov edx, dword [esp + 0x58]
push edx
call fcn.00412303
add esp, 0x14
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00412303
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebx
je 0x404ed0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.00409100
mov edx, dword [esp + 0x40]
push edx
call fcn.00412303
add esp, 0x14
jmp 0x404ed0
mov edi, 0xf
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
mov dword [esp + 0x1c0], edi
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
mov dword [esp + 0x58], ecx
push ebx
push str.param
lea ecx, [esp + 0x60]
mov byte [esp + 0x1210], 0xa
call fcn.004699f0
test al, al
je 0x404415
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x5c]
call fcn.00469b30
mov byte [esp + 0x1208], 0xb
cmp dword [eax + 0x18], ebp
jb 0x4043a2
mov eax, dword [eax + 4]
jmp 0x4043a5
add eax, 4
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00467af0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1214], 0xc
call fcn.004032c0
cmp dword [esp + 0xfc], ebp
jb 0x4043e7
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00412303
add esp, 4
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x134], ebp
jb 0x404415
mov edx, dword [esp + 0x120]
push edx
call fcn.00412303
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x54], eax
push ebx
push str.local_filename
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1210], 0xd
call fcn.004699f0
test al, al
je 0x4044d8
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00469b30
mov byte [esp + 0x1208], 0xe
cmp dword [eax + 0x18], ebp
jb 0x40445d
mov eax, dword [eax + 4]
jmp 0x404460
add eax, 4
push eax
lea edx, [esp + 0xe8]
push edx
call fcn.00467af0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x198]
mov byte [esp + 0x1214], 0xf
call fcn.004032c0
cmp dword [esp + 0xfc], ebp
jb 0x4044a2
mov eax, dword [esp + 0xe8]
push eax
call fcn.00412303
add esp, 4
mov byte [esp + 0x1208], 0xd
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x134], ebp
jb 0x4044d8
mov ecx, dword [esp + 0x120]
push ecx
call fcn.00412303
add esp, 4
cmp dword [esp + 0x1a0], ebx
jne 0x404549
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x404503
call fcn.00412ade
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x120]
push edx
call fcn.00468030
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x198]
mov byte [esp + 0x1214], 0x10
call fcn.004032c0
cmp dword [esp + 0x134], ebp
jb 0x404549
mov eax, dword [esp + 0x120]
push eax
call fcn.00412303
add esp, 4
mov ecx, dword [esi]
mov dword [esp + 0x5c], ecx
push ebx
push str.local_path
lea ecx, [esp + 0x64]
mov byte [esp + 0x1210], 0x11
call fcn.004699f0
test al, al
je 0x404746
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x60]
call fcn.00469b30
mov byte [esp + 0x1208], 0x12
cmp dword [eax + 0x18], ebp
jb 0x404591
mov eax, dword [eax + 4]
jmp 0x404594
add eax, 4
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00467af0
add esp, 8
mov byte [esp + 0x1208], 0x13
cmp dword [eax + 0x18], ebp
jb 0x4045b7
mov eax, dword [eax + 4]
jmp 0x4045ba
add eax, 4
push eax
lea ecx, [esp + 0x120]
push ecx
call fcn.00468480
add esp, 8
cmp dword [esp + 0xfc], ebp
jb 0x4045e4
mov edx, dword [esp + 0xe8]
push edx
call fcn.00412303
add esp, 4
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov byte [esp + 0x1208], 0x16
cmp dword [esp + 0x118], ebp
jb 0x40461a
mov eax, dword [esp + 0x104]
push eax
call fcn.00412303
add esp, 4
push 0x47bda0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x144]
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov word [ecx + 4], dx
call fcn.00407af0
lea eax, [esp + 0xa0]
push eax
call fcn.00407c10
add esp, 0x20
mov esi, 8
mov byte [esp + 0x120c], 0x17
cmp dword [eax + 0x18], esi
jb 0x404683
mov eax, dword [eax + 4]
jmp 0x404686
add eax, 4
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.00467d40
add esp, 8
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1214], 0x18
call fcn.00406390
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1214], 0x19
call fcn.004032c0
cmp dword [esp + 0x7c], ebp
jb 0x4046d8
mov eax, dword [esp + 0x68]
push eax
call fcn.00412303
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0x150], ebp
jb 0x4046fd
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00412303
add esp, 4
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
cmp dword [esp + 0x98], esi
jb 0x40472b
mov edx, dword [esp + 0x84]
push edx
call fcn.00412303
add esp, 4
mov byte [esp + 0x1208], 0x11
cmp dword [esp + 0x134], esi
jb 0x40478b
mov eax, dword [esp + 0x120]
push eax
jmp 0x404783
lea esi, [esp + 0x80]
call fcn.004038b0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1214], 0x1a
call fcn.004032c0
mov byte [esp + 0x1208], 0x11
cmp dword [esp + 0x98], ebp
jb 0x40478b
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00412303
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0x47bd40
lea edx, [esp + 0x1c8]
push edx
call fcn.00469ac0
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x1ac]
push ecx
lea esi, [esp + 0x15c]
mov byte [esp + 0x1210], 0x1b
call fcn.00401990
add esp, 8
mov byte [esp + 0x1208], 0x1c
mov eax, dword [esp + 0x158]
mov byte [esp + 0x1c], bl
mov byte [esp + 0x18], bl
cmp dword [esp + 0x16c], ebp
jae 0x4047ef
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4048cf
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x13c]
push eax
call fcn.0046c2d0
add esp, 8
xor esi, esi
cmp dword [esp + 0x60], ebx
mov byte [esp + 0x1208], 0x1d
jle 0x404893
xor edi, edi
jmp 0x404835
mov ebp, 0x10
cmp dword [esp + 0x150], ebp
mov ebp, dword [esp + 0x13c]
jae 0x40484c
lea ebp, [esp + 0x13c]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x404870
call fcn.00412ade
mov edx, dword [esp + 0x48]
lea eax, [edi + edx]
push ebp
push eax
call fcn.00467ab0
add esp, 8
test eax, eax
jne 0x4049dd
inc esi
add edi, 0x1c
cmp esi, dword [esp + 0x60]
jl 0x404830
lea eax, [esp + 0x154]
push eax
call fcn.00468360
add esp, 4
mov byte [esp + 0x1208], 0x1c
cmp dword [esp + 0x150], 0x10
jb 0x4048c5
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00412303
add esp, 4
cmp byte [esp + 0x18], bl
jne 0x404a4a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
div dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
mov edi, edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x404901
call fcn.00412ade
mov ecx, dword [esp + 0x30]
lea esi, [edi*8]
sub esi, edi
add esi, esi
push 0xffffffffffffffff
add esi, esi
lea eax, [esi + ecx]
push ebx
mov ebp, 0xf
push eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], ebp
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.004032c0
mov byte [esp + 0x1208], 0x1e
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40496b
call fcn.00412ade
mov ecx, dword [esp + 0x48]
push 0xffffffffffffffff
add esi, ecx
push ebx
push esi
lea ecx, [esp + 0x10c]
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
call fcn.004032c0
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0xe8]
push eax
mov byte [esp + 0x1210], 0x1f
call fcn.00469bc0
add esp, 8
cmp dword [esp + 0x114], ebx
je 0x4049e7
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x158]
push edx
call fcn.0046c130
add esp, 8
mov byte [esp + 0x18], al
jmp 0x4049ec
mov byte [esp + 0x18], 1
jmp 0x4048a3
mov byte [esp + 0x18], 1
mov esi, 0x10
cmp dword [esp + 0x118], esi
jb 0x404a0a
mov eax, dword [esp + 0x104]
push eax
call fcn.00412303
add esp, 4
mov byte [esp + 0x1208], 0x1c
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
cmp dword [esp + 0xfc], esi
jb 0x404a40
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00412303
add esp, 4
cmp byte [esp + 0x18], bl
je 0x404ca3
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x84]
push str.__taskidtaskid.
push eax
call fcn.00406450
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1214], 0x20
call fcn.00401b80
mov edi, 0x10
mov byte [esp + 0x1208], 0x1c
cmp dword [esp + 0x98], edi
jb 0x404aa5
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00412303
add esp, 4
push 0x40
lea edx, [esp + 0xa4]
push ebx
push edx
mov dword [esp + 0xa8], 0x44
call fcn.00416f90
add esp, 0xc
push 0xfff
lea eax, [esp + 0x201]
push ebx
push eax
mov byte [esp + 0x208], bl
call fcn.00416f90
mov ecx, dword [esp + 0x180]
add esp, 0xc
cmp dword [esp + 0x188], edi
jae 0x404af7
lea ecx, [esp + 0x174]
mov eax, dword [esp + 0x158]
cmp dword [esp + 0x16c], edi
jae 0x404b0e
lea eax, [esp + 0x158]
push ecx
push eax
push str.__s___s
lea ecx, [esp + 0x208]
push 0x1000
push ecx
call fcn.00412cc5
add esp, 0x14
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0xa0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
mov byte [esp + 0x1c], al
cmp al, bl
je 0x404b7b
mov edx, dword [esp + 0x104]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x100]
push eax
call esi
jmp 0x404ca5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00467ea0
push 0x47bdc0
push eax
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x121c], 0x21
call fcn.00406390
add esp, 0x14
lea ecx, [esp + 0x154]
push ecx
push eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1210], 0x22
call fcn.00401990
mov esi, eax
lea edx, [esp + 0x1cc]
push edx
lea eax, [esp + 0x144]
push str.updatechecker.failed_createprocess_
push eax
mov byte [esp + 0x121c], 0x23
call fcn.00406450
add esp, 0x14
push esi
push eax
mov byte [esp + 0x1210], 0x24
call fcn.0046be20
add esp, 8
cmp dword [esp + 0x150], edi
jb 0x404c19
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00412303
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x150], ebp
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
cmp dword [esp + 0x7c], edi
jb 0x404c46
mov edx, dword [esp + 0x68]
push edx
call fcn.00412303
add esp, 4
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0xfc], edi
jb 0x404c6b
mov eax, dword [esp + 0xe8]
push eax
call fcn.00412303
add esp, 4
mov byte [esp + 0x1208], 0x1c
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x98], edi
jb 0x404caa
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00412303
add esp, 4
jmp 0x404caa
mov edi, esi
mov ebp, 0xf
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x1e4]
push str.updatechecker.
push eax
call fcn.00406450
add esp, 0xc
push ebx
push 4
push ebx
mov byte [esp + 0x1214], 0x25
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
push 1
lea eax, [esp + 0x1f8]
push 1
push eax
call fcn.0046bf80
add esp, 0x20
cmp dword [esp + 0x1f8], edi
jb 0x404d0a
mov ecx, dword [esp + 0x1e4]
push ecx
call fcn.00412303
add esp, 4
mov dword [esp + 0x1f8], ebp
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x16c], edi
jb 0x404d38
mov edx, dword [esp + 0x158]
push edx
call fcn.00412303
add esp, 4
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
cmp dword [esp + 0x1dc], edi
jb 0x404d66
mov eax, dword [esp + 0x1c8]
push eax
call fcn.00412303
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1dc], ebp
mov dword [esp + 0x1d8], ebx
mov byte [esp + 0x1c8], bl
call fcn.00469a90
lea ecx, [esp + 0x54]
call fcn.00469a90
lea ecx, [esp + 0x58]
call fcn.00469a90
cmp dword [esp + 0x1a4], edi
jb 0x404daf
mov ecx, dword [esp + 0x190]
push ecx
call fcn.00412303
add esp, 4
mov dword [esp + 0x1a4], ebp
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
cmp dword [esp + 0x1c0], edi
jb 0x404ddd
mov edx, dword [esp + 0x1ac]
push edx
call fcn.00412303
add esp, 4
mov dword [esp + 0x1c0], ebp
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x188], edi
jb 0x404e0b
mov eax, dword [esp + 0x174]
push eax
call fcn.00412303
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
call fcn.00469a90
mov esi, dword [esp + 0x48]
cmp esi, ebx
je 0x404e70
mov edi, dword [esp + 0x4c]
cmp esi, edi
je 0x404e67
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 0x10
jb 0x404e51
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00412303
add esp, 4
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x404e40
mov esi, dword [esp + 0x48]
push esi
call fcn.00412303
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00412303
mov esi, dword [esp + 0x34]
add esp, 4
cmp esi, ebx
je 0x404ed0
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x404ec7
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 0x10
jb 0x404eb1
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00412303
add esp, 4
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x404ea0
mov esi, dword [esp + 0x30]
push esi
call fcn.00412303
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00412303
add esp, 4
mov ecx, dword [esp + 0x1200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x11e8]
xor ecx, esp
call fcn.0041230e
add esp, 0x11f8
ret