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

Disassembly:
push 0xffffffffffffffff
push 0x46a1bc
mov eax, dword fs:[0]
push eax
mov eax, 0x11ec
call fcn.00426d90
mov eax, dword [0x47d1a0]
xor eax, esp
mov dword [esp + 0x11e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47d1a0]
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.00405b00
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1208], ebx
call fcn.00405b00
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.00465320
test al, al
jne 0x404100
lea ecx, [esp + 0x20]
call fcn.004653c0
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4040b4
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.004090f0
mov edx, dword [esp + 0x58]
push edx
call fcn.00412333
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.00412333
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebx
je 0x404ec0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.004090f0
mov edx, dword [esp + 0x40]
push edx
call fcn.00412333
add esp, 0x14
jmp 0x404ec0
mov ecx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x18], ecx
push ebx
push 0x475e68
lea ecx, [esp + 0x20]
mov byte [esp + 0x1210], 3
call fcn.00465320
lea ebp, [esi + 0x10]
test al, al
je 0x4041e6
lea esp, [esp]
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00465460
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x120c], 4
call fcn.00405b60
mov byte [esp + 0x1208], 3
cmp dword [esp + 0x134], ebp
jb 0x404174
mov eax, dword [esp + 0x120]
push eax
call fcn.00412333
add esp, 4
push 0x475e6c
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esp + 0x20]
call fcn.004653f0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x120c], 5
call fcn.00405b60
cmp dword [esp + 0x134], ebp
jb 0x4041b5
mov edx, dword [esp + 0x120]
push edx
call fcn.00412333
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004653c0
mov eax, dword [esp + 0x20]
inc esi
mov dword [esp + 0x18], eax
push esi
push 0x475e68
lea ecx, [esp + 0x20]
mov byte [esp + 0x1210], 3
call fcn.00465320
test al, al
jne 0x404130
lea ecx, [esp + 0x18]
mov byte [esp + 0x1208], 2
call fcn.004653c0
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 0x404302
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.004036a0
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.00467850
add esp, 0x20
cmp dword [esp + 0x118], ebp
jb 0x404283
mov edx, dword [esp + 0x104]
push edx
call fcn.00412333
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004653c0
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4042b6
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.004090f0
mov edx, dword [esp + 0x58]
push edx
call fcn.00412333
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.00412333
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebx
je 0x404ec0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.004090f0
mov edx, dword [esp + 0x40]
push edx
call fcn.00412333
add esp, 0x14
jmp 0x404ec0
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.00465320
test al, al
je 0x404405
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x5c]
call fcn.00465460
mov byte [esp + 0x1208], 0xb
cmp dword [eax + 0x18], ebp
jb 0x404392
mov eax, dword [eax + 4]
jmp 0x404395
add eax, 4
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00463420
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1214], 0xc
call fcn.004032b0
cmp dword [esp + 0xfc], ebp
jb 0x4043d7
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00412333
add esp, 4
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x134], ebp
jb 0x404405
mov edx, dword [esp + 0x120]
push edx
call fcn.00412333
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.00465320
test al, al
je 0x4044c8
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00465460
mov byte [esp + 0x1208], 0xe
cmp dword [eax + 0x18], ebp
jb 0x40444d
mov eax, dword [eax + 4]
jmp 0x404450
add eax, 4
push eax
lea edx, [esp + 0xe8]
push edx
call fcn.00463420
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x198]
mov byte [esp + 0x1214], 0xf
call fcn.004032b0
cmp dword [esp + 0xfc], ebp
jb 0x404492
mov eax, dword [esp + 0xe8]
push eax
call fcn.00412333
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 0x4044c8
mov ecx, dword [esp + 0x120]
push ecx
call fcn.00412333
add esp, 4
cmp dword [esp + 0x1a0], ebx
jne 0x404539
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 0x4044f3
call fcn.00412b0e
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x120]
push edx
call fcn.00463a80
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x198]
mov byte [esp + 0x1214], 0x10
call fcn.004032b0
cmp dword [esp + 0x134], ebp
jb 0x404539
mov eax, dword [esp + 0x120]
push eax
call fcn.00412333
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.00465320
test al, al
je 0x404736
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x60]
call fcn.00465460
mov byte [esp + 0x1208], 0x12
cmp dword [eax + 0x18], ebp
jb 0x404581
mov eax, dword [eax + 4]
jmp 0x404584
add eax, 4
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00463420
add esp, 8
mov byte [esp + 0x1208], 0x13
cmp dword [eax + 0x18], ebp
jb 0x4045a7
mov eax, dword [eax + 4]
jmp 0x4045aa
add eax, 4
push eax
lea ecx, [esp + 0x120]
push ecx
call fcn.00463db0
add esp, 8
cmp dword [esp + 0xfc], ebp
jb 0x4045d4
mov edx, dword [esp + 0xe8]
push edx
call fcn.00412333
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 0x40460a
mov eax, dword [esp + 0x104]
push eax
call fcn.00412333
add esp, 4
push 0x475eb8
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.00407ae0
lea eax, [esp + 0xa0]
push eax
call fcn.00407c00
add esp, 0x20
mov esi, 8
mov byte [esp + 0x120c], 0x17
cmp dword [eax + 0x18], esi
jb 0x404673
mov eax, dword [eax + 4]
jmp 0x404676
add eax, 4
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.00463670
add esp, 8
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1214], 0x18
call fcn.004063a0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1214], 0x19
call fcn.004032b0
cmp dword [esp + 0x7c], ebp
jb 0x4046c8
mov eax, dword [esp + 0x68]
push eax
call fcn.00412333
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0x150], ebp
jb 0x4046ed
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00412333
add esp, 4
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
cmp dword [esp + 0x98], esi
jb 0x40471b
mov edx, dword [esp + 0x84]
push edx
call fcn.00412333
add esp, 4
mov byte [esp + 0x1208], 0x11
cmp dword [esp + 0x134], esi
jb 0x40477b
mov eax, dword [esp + 0x120]
push eax
jmp 0x404773
lea esi, [esp + 0x80]
call fcn.004038a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1214], 0x1a
call fcn.004032b0
mov byte [esp + 0x1208], 0x11
cmp dword [esp + 0x98], ebp
jb 0x40477b
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00412333
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0x475e58
lea edx, [esp + 0x1c8]
push edx
call fcn.004653f0
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 0x4047df
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4048bf
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x13c]
push eax
call fcn.00467ba0
add esp, 8
xor esi, esi
cmp dword [esp + 0x60], ebx
mov byte [esp + 0x1208], 0x1d
jle 0x404883
xor edi, edi
jmp 0x404825
mov ebp, 0x10
cmp dword [esp + 0x150], ebp
mov ebp, dword [esp + 0x13c]
jae 0x40483c
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 0x404860
call fcn.00412b0e
mov edx, dword [esp + 0x48]
lea eax, [edi + edx]
push ebp
push eax
call fcn.004633e0
add esp, 8
test eax, eax
jne 0x4049cd
inc esi
add edi, 0x1c
cmp esi, dword [esp + 0x60]
jl 0x404820
lea eax, [esp + 0x154]
push eax
call fcn.00463960
add esp, 4
mov byte [esp + 0x1208], 0x1c
cmp dword [esp + 0x150], 0x10
jb 0x4048b5
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00412333
add esp, 4
cmp byte [esp + 0x18], bl
jne 0x404a3a
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 0x4048f1
call fcn.00412b0e
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.004032b0
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 0x40495b
call fcn.00412b0e
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.004032b0
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0xe8]
push eax
mov byte [esp + 0x1210], 0x1f
call fcn.004654f0
add esp, 8
cmp dword [esp + 0x114], ebx
je 0x4049d7
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x158]
push edx
call fcn.00467a00
add esp, 8
mov byte [esp + 0x18], al
jmp 0x4049dc
mov byte [esp + 0x18], 1
jmp 0x404893
mov byte [esp + 0x18], 1
mov esi, 0x10
cmp dword [esp + 0x118], esi
jb 0x4049fa
mov eax, dword [esp + 0x104]
push eax
call fcn.00412333
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 0x404a30
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00412333
add esp, 4
cmp byte [esp + 0x18], bl
je 0x404c93
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x84]
push str.__taskidtaskid.
push eax
call fcn.00406460
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1214], 0x20
call fcn.00401a40
mov edi, 0x10
mov byte [esp + 0x1208], 0x1c
cmp dword [esp + 0x98], edi
jb 0x404a95
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00412333
add esp, 4
push 0x40
lea edx, [esp + 0xa4]
push ebx
push edx
mov dword [esp + 0xa8], 0x44
call fcn.00416fc0
add esp, 0xc
push 0xfff
lea eax, [esp + 0x201]
push ebx
push eax
mov byte [esp + 0x208], bl
call fcn.00416fc0
mov ecx, dword [esp + 0x180]
add esp, 0xc
cmp dword [esp + 0x188], edi
jae 0x404ae7
lea ecx, [esp + 0x174]
mov eax, dword [esp + 0x158]
cmp dword [esp + 0x16c], edi
jae 0x404afe
lea eax, [esp + 0x158]
push ecx
push eax
push str.__s___s
lea ecx, [esp + 0x208]
push 0x1000
push ecx
call fcn.00412cf5
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 0x404b6b
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 0x404c95
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004637d0
push 0x475ed8
push eax
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x121c], 0x21
call fcn.004063a0
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.00406460
add esp, 0x14
push esi
push eax
mov byte [esp + 0x1210], 0x24
call fcn.004676f0
add esp, 8
cmp dword [esp + 0x150], edi
jb 0x404c09
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00412333
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 0x404c36
mov edx, dword [esp + 0x68]
push edx
call fcn.00412333
add esp, 4
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0xfc], edi
jb 0x404c5b
mov eax, dword [esp + 0xe8]
push eax
call fcn.00412333
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 0x404c9a
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00412333
add esp, 4
jmp 0x404c9a
mov edi, esi
mov ebp, 0xf
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x1e4]
push str.updatechecker.
push eax
call fcn.00406460
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.00467850
add esp, 0x20
cmp dword [esp + 0x1f8], edi
jb 0x404cfa
mov ecx, dword [esp + 0x1e4]
push ecx
call fcn.00412333
add esp, 4
mov dword [esp + 0x1f8], ebp
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x16c], edi
jb 0x404d28
mov edx, dword [esp + 0x158]
push edx
call fcn.00412333
add esp, 4
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
cmp dword [esp + 0x1dc], edi
jb 0x404d56
mov eax, dword [esp + 0x1c8]
push eax
call fcn.00412333
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1dc], ebp
mov dword [esp + 0x1d8], ebx
mov byte [esp + 0x1c8], bl
call fcn.004653c0
lea ecx, [esp + 0x54]
call fcn.004653c0
lea ecx, [esp + 0x58]
call fcn.004653c0
cmp dword [esp + 0x1a4], edi
jb 0x404d9f
mov ecx, dword [esp + 0x190]
push ecx
call fcn.00412333
add esp, 4
mov dword [esp + 0x1a4], ebp
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
cmp dword [esp + 0x1c0], edi
jb 0x404dcd
mov edx, dword [esp + 0x1ac]
push edx
call fcn.00412333
add esp, 4
mov dword [esp + 0x1c0], ebp
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x188], edi
jb 0x404dfb
mov eax, dword [esp + 0x174]
push eax
call fcn.00412333
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], ebp
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
call fcn.004653c0
mov esi, dword [esp + 0x48]
cmp esi, ebx
je 0x404e60
mov edi, dword [esp + 0x4c]
cmp esi, edi
je 0x404e57
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 0x10
jb 0x404e41
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00412333
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 0x404e30
mov esi, dword [esp + 0x48]
push esi
call fcn.00412333
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.00412333
mov esi, dword [esp + 0x34]
add esp, 4
cmp esi, ebx
je 0x404ec0
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x404eb7
add esi, 0x18
lea esp, [esp]
cmp dword [esi], 0x10
jb 0x404ea1
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00412333
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 0x404e90
mov esi, dword [esp + 0x30]
push esi
call fcn.00412333
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.00412333
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.0041233e
add esp, 0x11f8
ret