Function at 0x404ce0
Capabilities:
Check if file exists
Print debug messages
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x545cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x700
mov eax, dword [0x591d64]
xor eax, esp
mov dword [esp + 0x6fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591d64]
xor eax, esp
push eax
lea eax, [esp + 0x714]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x90], edi
call fcn.00415458
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404d3e
push 0x80004005
call fcn.0040e230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x71c], 0
call fcn.00415458
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404d73
push 0x80004005
call fcn.0040e230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x71c], 1
call fcn.00415458
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404da5
push 0x80004005
call fcn.0040e230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x724], 0
mov byte [esp + 0x71c], 2
je 0x404dda
mov ecx, dword [edi + 0xe8]
push ecx
push str._sGameInfoModifyIni.ini
lea edx, [esp + 0x2c]
push edx
jmp 0x404deb
mov eax, dword [edi + 0xe8]
push eax
push str._sGameInfoModifyXml.ini
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040de30
mov esi, dword [esp + 0x30]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x404e78
lea eax, [ebx - 0x10]
mov byte [esp + 0x71c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x71c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x71c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x405d35
push 0x103
lea ecx, [esp + 0x505]
push 0
push ecx
mov byte [esp + 0x50c], 0
call fcn.00507960
add esp, 0xc
push esi
push 0x104
lea edx, [esp + 0x508]
push edx
push 0x56f8a7
push str.file
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [edi + 0xe8]
lea eax, [esp + 0x500]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s_s
push edx
call fcn.0040de30
xor eax, eax
push 0x103
push eax
mov dword [esp + 0xed], eax
mov dword [esp + 0xf1], eax
mov byte [esp + 0xf5], al
mov byte [esp + 0x200], al
lea eax, [esp + 0x201]
push eax
mov byte [esp + 0xf0], 0
call fcn.00507960
add esp, 0x1c
push 0x103
lea ecx, [esp + 0x2f5]
push 0
push ecx
mov byte [esp + 0x2fc], 0
call fcn.00507960
add esp, 0xc
push 0x103
lea edx, [esp + 0x60d]
push 0
push edx
mov byte [esp + 0x614], 0
call fcn.00507960
add esp, 0xc
push 0x103
lea eax, [esp + 0xe5]
push 0
push eax
mov byte [esp + 0xec], 0
call fcn.00507960
add esp, 0xc
push 0x103
lea ecx, [esp + 0x3fd]
push 0
push ecx
mov byte [esp + 0x404], 0
call fcn.00507960
add esp, 0xc
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x34]
push 0xa
push 0xa
lea edx, [esp + 0xdc]
push edx
push eax
call fcn.00506656
mov edi, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x10
push edi
push 0x104
lea ecx, [esp + 0x1f0]
push ecx
push 0x56f8a7
push str.name
lea edx, [esp + 0xe8]
push edx
call esi
push edi
push 0x104
lea eax, [esp + 0x2f8]
push eax
push 0x56f8a7
push 0x56f060
lea ecx, [esp + 0xe8]
push ecx
call esi
push edi
push 0x104
lea edx, [esp + 0x610]
push edx
push 0x56f8a7
push str.param
lea eax, [esp + 0xe8]
push eax
call esi
push edi
push 0x104
lea ecx, [esp + 0xe8]
push ecx
push 0x56f8a7
push 0x56f064
lea edx, [esp + 0xe8]
push edx
call esi
push edi
push 0x104
lea eax, [esp + 0x400]
push eax
push 0x56f8a7
push str.KeyName
lea ecx, [esp + 0xe8]
push ecx
call esi
lea eax, [esp + 0xe0]
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405070
sub eax, ecx
cmp eax, 1
jb 0x405cb5
lea edx, [esp + 0x3f8]
push edx
lea ecx, [esp + 0xa8]
call fcn.0040d8a0
mov esi, eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x720], 3
call fcn.0040d8a0
mov edi, eax
lea ecx, [esp + 0x608]
push ecx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x720], 4
call fcn.0040d8a0
mov ebp, eax
lea edx, [esp + 0x2f0]
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0x720], 5
call fcn.0040d8a0
mov ebx, eax
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x720], 6
call fcn.0040d8a0
push eax
lea ecx, [esp + 0x7c]
push str.Msg:_
push ecx
mov byte [esp + 0x728], 7
call fcn.0040d960
add esp, 0xc
push 0x56f070
push eax
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x728], 8
call fcn.0040db20
add esp, 0xc
push ebx
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x728], 9
call fcn.0040a760
add esp, 0xc
push 0x56f070
push eax
lea ecx, [esp + 0xc4]
push ecx
mov byte [esp + 0x728], 0xa
call fcn.0040db20
add esp, 0xc
push ebp
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x728], 0xb
call fcn.0040a760
add esp, 0xc
push 0x56f070
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x728], 0xc
call fcn.0040db20
add esp, 0xc
push edi
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x728], 0xd
call fcn.0040a760
add esp, 0xc
push 0x56f070
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x728], 0xe
call fcn.0040db20
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x728], 0xf
call fcn.0040a760
add esp, 0xc
push 0x56ece8
push eax
lea ecx, [esp + 0xb4]
push ecx
mov byte [esp + 0x728], 0x10
call fcn.0040db20
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0xac]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0xf
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40526c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0xe
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0xd
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0xc
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0xb
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405312
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0xa
mov eax, dword [esp + 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40533d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 9
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 8
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405390
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 7
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 6
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 5
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40540b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 4
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 3
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 2
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40548c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ecx
lea edx, [esp + 0xe8]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0040d8a0
mov eax, dword [esp + 0x98]
push eax
lea ecx, [esp + 0x58]
call fcn.004040f0
mov byte [esp + 0x71c], 0x11
mov eax, dword [esp + 0x4c]
cmp dword [eax - 0xc], 0
je 0x405c91
lea ecx, [esp + 0x2f0]
push ecx
push eax
lea edx, [esp + 0x30]
push str._s_s
push edx
call fcn.0040de30
add esp, 0x10
cmp dword [esp + 0x724], 0
je 0x405513
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x400]
push edx
lea eax, [esp + 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x405c53
lea ecx, [esp + 0xc0]
call fcn.0041845a
push 0
mov byte [esp + 0x720], 0x12
mov ecx, dword [esp + 0x24]
push 2
push ecx
lea ecx, [esp + 0xcc]
call fcn.00418472
test eax, eax
je 0x405c3f
call fcn.00415458
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404d34
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x71c], 0x13
call fcn.00415458
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404d34
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x720], 0x14
call fcn.004189b8
test eax, eax
je 0x405bae
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jge 0x4055c4
or esi, 0xffffffff
jmp 0x4055e1
push 0x56f07c
push eax
call fcn.005062ac
add esp, 8
test eax, eax
jne 0x4055db
or esi, 0xffffffff
jmp 0x4055e1
sub eax, dword [esp + 0x18]
mov esi, eax
push esi
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x20]
call fcn.0040a6e0
mov byte [esp + 0x71c], 0x15
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040a660
mov byte [esp + 0x71c], 0x16
mov ebx, dword [esp + 0x30]
cmp dword [ebx - 0xc], 0
jge 0x405628
or esi, 0xffffffff
jmp 0x405643
push 0x56f07c
push ebx
call fcn.005062ac
add esp, 8
test eax, eax
jne 0x40563f
or esi, 0xffffffff
jmp 0x405643
sub eax, ebx
mov esi, eax
push esi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x38]
call fcn.0040a6e0
mov byte [esp + 0x71c], 0x17
mov eax, dword [ebx - 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
call fcn.0040a660
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x71c], 0x18
mov ebp, dword [esp + 0x38]
push ecx
push ebp
call fcn.00506154
mov edi, dword [esp + 0x34]
add esp, 8
test eax, eax
jne 0x405a5d
cmp dword [edi - 0xc], 0
jge 0x4056a3
or esi, 0xffffffff
jmp 0x4056be
push 0x56f07c
push edi
call fcn.005062ac
add esp, 8
test eax, eax
jne 0x4056ba
or esi, 0xffffffff
jmp 0x4056be
sub eax, edi
mov esi, eax
push esi
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
call fcn.0040a6e0
mov byte [esp + 0x71c], 0x19
mov eax, dword [edi - 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x34]
call fcn.0040a660
mov byte [esp + 0x71c], 0x1a
mov esi, dword [esp + 0x40]
cmp dword [esi - 0xc], 0
jge 0x405701
or ecx, 0xffffffff
jmp 0x40571c
push 0x56f07c
push esi
call fcn.005062ac
add esp, 8
test eax, eax
jne 0x405718
or ecx, 0xffffffff
jmp 0x40571c
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
sub eax, ecx
dec eax
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x48]
call fcn.0040a660
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x728], 0x1b
call fcn.0040a760
add esp, 0xc
push 0x56f07c
push eax
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x728], 0x1c
call fcn.0040db20
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x728], 0x1d
call fcn.0040a760
add esp, 0xc
push 0x56f07c
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x728], 0x1e
call fcn.0040db20
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x728], 0x1f
call fcn.0040a760
add esp, 0xc
push 0x56f07c
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x728], 0x20
call fcn.0040db20
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x728], 0x21
call fcn.0040a760
add esp, 0xc
push 0x56f07c
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x728], 0x22
call fcn.0040db20
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x71c], 0x23
push ecx
push eax
lea edx, [esp + 0xa0]
push edx
call fcn.0040a760
add esp, 0xc
push 0x56f080
push eax
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x728], 0x24
call fcn.0040db20
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x720], 0x25
call fcn.0040e2d0
mov byte [esp + 0x71c], 0x24
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40588f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x23
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x22
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x21
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40590a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x20
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405932
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x1f
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40595a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x1e
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405982
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x1d
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x1c
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x1b
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x1a
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x71c], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x18
mov eax, dword [esp + 0x3c]
jmp 0x405ae1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.0040a760
add esp, 0xc
push 0x56f080
push eax
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0x728], 0x26
call fcn.0040db20
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x720], 0x27
call fcn.0040e2d0
mov byte [esp + 0x71c], 0x26
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x18
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405afd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x71c], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x71c], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x71c], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x14
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc4]
call fcn.004189b8
test eax, eax
jne 0x4055b5
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
call fcn.00418821
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x20]
push 0
push 0x1002
push edx
lea ecx, [esp + 0xcc]
call fcn.00418472
push esi
lea ecx, [esp + 0xc4]
call fcn.00418664
lea ecx, [esp + 0xc0]
call fcn.00418821
lea eax, [esi - 0x10]
mov byte [esp + 0x71c], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0x12
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x71c], 0x11
call fcn.0041889d
mov byte [esp + 0x71c], 2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 0x1388
mov dword [esp + 0x34], eax
jl 0x404f98
jmp 0x405cb5
add eax, 0xfffffff0
mov byte [esp + 0x71c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405cdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x71c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x71c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x714]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6fc]
xor ecx, esp
call fcn.005043e7
add esp, 0x70c
ret 4