Function at 0x409900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x484d73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b8
mov eax, dword [0x4b8760]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x5c4], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], 0
call fcn.004053d0
mov ebp, eax
test ebp, ebp
jne 0x409987
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4b9c54
mov dword [esp + 0x14], 0xcd
call fcn.00403f50
cmp dword [eax + 0x18], 0x10
jb 0x409973
mov eax, dword [eax + 4]
push ebp
push ebp
push eax
mov ecx, ebx
call fcn.00478143
jmp 0x40a210
push 0
add eax, 4
push 0
push eax
mov ecx, ebx
call fcn.00478143
jmp 0x40a210
lea ecx, [esp + 0x20]
call fcn.00406250
mov dword [esp + 0x24], eax
mov byte [eax + 0x3d], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esp + 0x28], eax
push str._update_localfilelist.txt
lea edi, [ebx + 0x98]
lea ecx, [esp + 0x14]
push edi
push ecx
mov dword [esp + 0x5dc], eax
call fcn.00407270
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x5d8], 1
call dword [edx + 8]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40a1a9
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004021b0
mov edx, dword [esi]
add esp, 8
test al, al
mov ecx, esi
je 0x40a1a6
call dword [edx + 4]
push str._update_newfile.txt
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00407270
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x5d8], 2
call dword [edx + 8]
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x409ac6
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4b9c54
mov dword [esp + 0x14], 0xcf
call fcn.00403f50
cmp dword [eax + 0x18], 0x10
jb 0x409aaa
mov eax, dword [eax + 4]
jmp 0x409aad
add eax, 4
push 0
push 0
push eax
mov ecx, ebx
call fcn.00478143
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
jmp 0x40a190
push 0x400
lea eax, [esp + 0x1c8]
push eax
mov ecx, edi
call fcn.0041e1a0
test eax, eax
je 0x409d8e
lea ecx, [esp + 0x1c4]
push ecx
call fcn.0041f320
add esp, 4
test eax, eax
je 0x409d72
mov ebx, dword [esp + 0x30]
push 0x48af14
add ebx, 0x98
lea edx, [esp + 0x48]
push ebx
push edx
call fcn.00407270
lea ecx, [esp + 0x1d0]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x5e8], 3
call fcn.00407270
add esp, 0x18
mov eax, dword [eax]
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x5d8], 4
call dword [edx + 8]
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x409c8d
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x4b9c54
mov dword [esp + 0x40], 0xd0
call fcn.00403f50
cmp dword [eax + 0x18], 0x10
jb 0x409bbf
mov eax, dword [eax + 4]
jmp 0x409bc2
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00407330
push 0x48af14
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x5e8], 5
call fcn.00407270
lea ecx, [esp + 0x1dc]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x5f4], 6
call fcn.00407270
add esp, 0x24
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push 0
push 0
push esi
call fcn.00478143
lea eax, [esi - 0x10]
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x409d72
sub esp, 0x1c
lea eax, [esp + 0x1e0]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00401c60
lea ecx, [esp + 0x80]
call fcn.00401af0
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x5d0], 0xa
call dword [edx + 8]
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00407780
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
je 0x409d2e
mov edx, dword [esp + 0x80]
mov dword [eax + 0x28], edx
mov ecx, dword [esp + 0x84]
add eax, 0x2c
mov dword [eax], ecx
mov edx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x90]
mov dword [eax + 0xc], edx
jmp 0x409d41
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401fc0
cmp dword [esp + 0x7c], 0x10
mov byte [esp + 0x5d0], 0
jb 0x409d5d
mov edx, dword [esp + 0x68]
push edx
call fcn.00477409
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
push 0x400
lea eax, [esp + 0x1c8]
push eax
mov ecx, edi
call fcn.0041e1a0
test eax, eax
jne 0x409ae2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edi, dword [esp + 0x30]
push str._update_newfile.txt
lea esi, [edi + 0x98]
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00407270
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov byte [esp + 0x5d4], 0xb
call dword [edx + 0x24]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409deb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.update_dellist.txt
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00407270
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [ebp]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x5d8], 0xc
call dword [edx + 8]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40a0e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test al, al
jne 0x40a0d3
jmp 0x409e60
push 0xff
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0041e1a0
test eax, eax
jle 0x40a0d3
lea edx, [esp + 0xc4]
push edx
call fcn.0041f320
add esp, 4
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
lea eax, [esp + 0xc4]
mov byte [esp + 0x5d0], 0xd
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409ec0
sub eax, edx
push eax
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x9c]
call fcn.00401980
lea eax, [esp + 0xc4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409ee8
sub eax, edx
lea ecx, [esp + 0x94]
mov esi, eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], esi
call fcn.00406eb0
mov edi, eax
cmp edi, dword [esp + 0x24]
mov dword [esp + 0x34], edi
je 0x409f4a
push esi
push 0
lea edx, [esp + 0x50]
push edx
lea ecx, [edi + 0xc]
call fcn.00407740
or dword [esp + 0x14], 1
lea ecx, [esp + 0xc4]
push ecx
push eax
mov byte [esp + 0x5d8], 0xe
call fcn.00406680
add esp, 8
test al, al
je 0x409f4a
mov bl, 1
jmp 0x409f4c
xor bl, bl
test byte [esp + 0x14], 1
mov dword [esp + 0x5d0], 0xd
je 0x409f94
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
and ecx, 0xfffffffe
cmp eax, 0x10
mov dword [esp + 0x14], ecx
jb 0x409f7f
mov edx, dword [esp + 0x4c]
push edx
call fcn.00477409
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
test bl, bl
je 0x40a082
lea eax, [esp + 0xc4]
push eax
push ebp
call fcn.00420e00
add esp, 8
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
call fcn.004011d0
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x24]
je 0x40a01c
mov ecx, dword [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x6c]
push edx
lea ecx, [edi + 0xc]
call fcn.00407740
mov ecx, dword [esp + 0x14]
or ecx, 2
lea edx, [esp + 0xc4]
mov byte [esp + 0x5d0], 0xf
mov dword [esp + 0x14], ecx
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x409ff5
sub edx, esi
push edx
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc8]
push ecx
push edx
push 0
mov ecx, eax
call fcn.00401290
test eax, eax
jne 0x40a01c
mov bl, 1
jmp 0x40a01e
xor bl, bl
test byte [esp + 0x14], 2
mov dword [esp + 0x5d0], 0xd
je 0x40a066
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
and ecx, 0xfffffffd
cmp eax, 0x10
mov dword [esp + 0x14], ecx
jb 0x40a051
mov eax, dword [esp + 0x68]
push eax
call fcn.00477409
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
test bl, bl
jne 0x409fb1
mov ecx, dword [esp + 0x34]
push edi
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
call fcn.00408a40
cmp dword [esp + 0xac], 0x10
mov byte [esp + 0x5d0], 0
jb 0x40a0a4
mov eax, dword [esp + 0x98]
push eax
call fcn.00477409
add esp, 4
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
call dword [edx + 0x1c]
test al, al
je 0x409e60
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x30]
push str._update_localfilelist.txt
lea eax, [edi + 0x98]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00407270
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [ebp]
push 2
push eax
mov ecx, ebp
mov byte [esp + 0x5d8], 0x10
call dword [edx + 8]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a136
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40a14c
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004016c0
add esp, 8
test al, al
jne 0x40a17d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x4b9c54
mov dword [esp + 0x20], 0xd1
call fcn.00403f50
cmp dword [eax + 0x18], 0x10
jb 0x40a16e
mov eax, dword [eax + 4]
jmp 0x40a171
add eax, 4
push 0
push 0
push eax
mov ecx, edi
call fcn.00478143
test esi, esi
je 0x40a188
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
lea ecx, [esp + 0x20]
mov dword [esp + 0x5d0], 0xffffffff
call fcn.00408df0
jmp 0x40a210
call dword [edx + 4]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4b9c54
mov dword [esp + 0x1c], 0xce
call fcn.00403f50
cmp dword [eax + 0x18], 0x10
jb 0x40a1d3
mov eax, dword [eax + 4]
jmp 0x40a1d6
add eax, 4
push 0
push 0
push eax
mov ecx, ebx
call fcn.00478143
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5dc], 0xffffffff
call fcn.00408a40
mov eax, dword [esp + 0x24]
push eax
call fcn.00477409
add esp, 4
mov ecx, dword [esp + 0x5c8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c4]
call fcn.0045cb6f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c4
ret