Function at 0x4514c0
Capabilities:
Check if file exists
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566d80
mov eax, dword fs:[0]
push eax
mov eax, 0x1fe4
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f98], ecx
mov dword [ebp - 0x1f94], 0
mov dword [ebp - 4], 3
mov byte [ebp - 0xf14], 0
push 0x3ff
push 0
lea eax, [ebp - 0xf13]
push eax
call fcn.005281f0
add esp, 0xc
push 0x57d208
lea ecx, [ebp - 0xf14]
push ecx
call fcn.0052a310
add esp, 8
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xaa4
call fcn.0041dca0
mov dword [ebp - 0xf2c], 0
jmp 0x451563
mov edx, dword [ebp - 0xf2c]
add edx, 1
mov dword [ebp - 0xf2c], edx
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xa40
call fcn.004563f0
cmp dword [ebp - 0xf2c], eax
jge 0x45160e
push 0x10
mov eax, dword [ebp + 8]
add eax, 8
push eax
mov ecx, dword [ebp - 0xf2c]
push ecx
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xa40
call fcn.00456410
add eax, 0x26c
push eax
call fcn.0052d241
add esp, 0xc
test eax, eax
jne 0x451609
mov edx, dword [ebp - 0xf2c]
push edx
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xa40
call fcn.00456410
push eax
lea eax, [ebp - 0x1f48]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1f9c], eax
mov ecx, dword [ebp - 0x1f9c]
call fcn.00412150
push eax
lea ecx, [ebp - 0xf14]
push ecx
call fcn.0052a310
add esp, 8
lea ecx, [ebp - 0x1f48]
call fcn.00412130
jmp 0x45160e
jmp 0x451554
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xaa4
mov edx, dword [ebp - 0x1f98]
mov eax, dword [edx + 0xaa4]
mov edx, dword [eax + 0x14]
call edx
cmp dword [0x5d9a14], 0
jne 0x451940
mov byte [ebp - 0x1f34], 0
push 0x1000
push 0
lea eax, [ebp - 0x1f33]
push eax
call fcn.005281f0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x1f4c]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1fa0], eax
mov ecx, dword [ebp - 0x1fa0]
call fcn.00412150
push eax
lea edx, [ebp - 0x1f34]
push edx
call fcn.0052a310
add esp, 8
lea ecx, [ebp - 0x1f4c]
call fcn.00412130
lea eax, [ebp - 0x1f34]
push eax
call fcn.0056199d
add esp, 4
push str..gif
lea ecx, [ebp - 0x1f34]
push ecx
call fcn.00420b60
add esp, 8
test eax, eax
je 0x4516f8
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push str..jpg
lea edx, [ebp - 0x1f34]
push edx
call fcn.00420b60
add esp, 8
test eax, eax
je 0x451748
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push str..bmp
lea eax, [ebp - 0x1f34]
push eax
call fcn.00420b60
add esp, 8
test eax, eax
je 0x451798
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push str..jpeg
lea ecx, [ebp - 0x1f34]
push ecx
call fcn.00420b60
add esp, 8
test eax, eax
je 0x4517e8
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push str..png
lea edx, [ebp - 0x1f34]
push edx
call fcn.00420b60
add esp, 8
test eax, eax
je 0x451838
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push str..css
lea eax, [ebp - 0x1f34]
push eax
call fcn.00420b60
add esp, 8
test eax, eax
je 0x451888
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push 0x57d23c
lea ecx, [ebp - 0x1f34]
push ecx
call fcn.00420b60
add esp, 8
test eax, eax
je 0x4518f0
push str..jsp
lea edx, [ebp - 0x1f34]
push edx
call fcn.00420b60
add esp, 8
test eax, eax
jne 0x4518f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push str..swf
lea eax, [ebp - 0x1f34]
push eax
call fcn.00420b60
add esp, 8
test eax, eax
je 0x451940
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
lea ecx, [ebp - 0x8f8]
call fcn.00415d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
lea ecx, [ebp + 0x24]
call fcn.00415f90
test eax, eax
je 0x451973
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x1f60], edx
jmp 0x4519bc
lea eax, [ebp - 0xf14]
push eax
lea ecx, [ebp - 0x1f5c]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x1fa4], eax
mov edx, dword [ebp - 0x1fa4]
mov dword [ebp - 0x1fa8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1f94]
or eax, 1
mov dword [ebp - 0x1f94], eax
mov ecx, dword [ebp - 0x1fa8]
mov edx, dword [ecx]
mov dword [ebp - 0x1f60], edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x8f4]
cdq
mov ecx, 0x3c
idiv ecx
imul eax, eax, 0x3c
mov edx, dword [ebp - 0x8f4]
sub edx, eax
push edx
call fcn.004561a0
add esp, 4
push eax
mov eax, dword [ebp - 0x8f4]
neg eax
cdq
mov ecx, 0x3c
idiv ecx
push eax
push str._d__b__Y:_H:_M:_S
lea edx, [ebp - 0x1f58]
push edx
lea eax, [ebp - 0x1f54]
push eax
call fcn.00424380
mov ecx, eax
call fcn.004243f0
mov dword [ebp - 0x1fac], eax
mov ecx, dword [ebp - 0x1fac]
mov dword [ebp - 0x1fb0], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x1fb0]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x1f60]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1f64]
push ecx
call fcn.00499f80
add esp, 8
mov dword [ebp - 0x1fb4], eax
mov edx, dword [ebp - 0x1fb4]
mov dword [ebp - 0x1fb8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1fb8]
mov ecx, dword [eax]
push ecx
push str._s____s___s__03d_02d____s___d__I64d___s____s_
lea edx, [ebp - 0x8f8]
push edx
call fcn.004171c0
add esp, 0x34
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1f64]
call fcn.00415e20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1f58]
call fcn.00415e20
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1f94]
and eax, 1
je 0x451ae2
and dword [ebp - 0x1f94], 0xfffffffe
lea ecx, [ebp - 0x1f5c]
call fcn.00415e20
push 0x57d274
push 0x57d2d8
lea ecx, [ebp - 0x8f8]
call fcn.00424600
lea ecx, [ebp - 0x8f8]
call fcn.00415f60
push eax
push 0
push 0x8065
push 0xffffffffffffffff
mov ecx, 0x5fa618
call fcn.004d8160
push 0x57d2e0
lea ecx, [ebp - 0x8f8]
call fcn.00424520
cmp dword [0x5d920c], 0
jne 0x451b76
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.00415e20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
push 0x3e8
lea ecx, [ebp - 0x82c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x2e
lea edx, [ebp - 0x82c]
push edx
call fcn.004111d0
add esp, 8
xor ecx, ecx
mov word [eax], cx
push 0x57d2e8
lea edx, [ebp - 0x82c]
push edx
call fcn.00528296
add esp, 8
cmp dword [0x5d9a1c], 0
jg 0x451c04
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.00415e20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
lea eax, [ebp - 0x840]
push eax
call fcn.00424380
push 0
push 0
push 0
mov ecx, dword [0x5d9a1c]
push ecx
lea ecx, [ebp - 0x900]
call fcn.00424300
mov edx, dword [ebp - 0x8fc]
push edx
mov eax, dword [ebp - 0x900]
push eax
lea ecx, [ebp - 0x838]
push ecx
lea ecx, [ebp - 0x840]
call fcn.004243a0
lea ecx, [ebp - 0x28]
call fcn.004f7d2d
mov byte [ebp - 4], 8
push 0
push str.log.txt
push 0x5d9210
lea ecx, [ebp - 0x1f68]
call fcn.00415da0
mov dword [ebp - 0x1fbc], eax
mov edx, dword [ebp - 0x1fbc]
mov dword [ebp - 0x1fc0], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1fc0]
push eax
lea ecx, [ebp - 0x1f6c]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x1fc4], eax
mov edx, dword [ebp - 0x1fc4]
mov dword [ebp - 0x1fc8], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1fc8]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x28]
call fcn.004f7dc5
mov dword [ebp - 0x844], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f6c]
call fcn.00415e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1f68]
call fcn.00415e20
cmp dword [ebp - 0x844], 0
je 0x451d6d
lea ecx, [ebp - 0x28]
call fcn.004f7af4
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x1f3c]
call fcn.0043a3f0
lea eax, [ebp - 0x1f3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004f7c46
mov ecx, dword [ebp - 0x834]
push ecx
mov edx, dword [ebp - 0x838]
push edx
lea ecx, [ebp - 0x1f3c]
call fcn.00455e40
movzx eax, al
test eax, eax
je 0x451d68
lea ecx, [ebp - 0x1f70]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004f7fc4
mov dword [ebp - 0x1fcc], eax
mov ecx, dword [ebp - 0x1fcc]
call fcn.00415f60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1f70]
call fcn.00415e20
jmp 0x451ce5
lea ecx, [ebp - 0x28]
call fcn.004f7a0e
push 0
push str.data.txt
push 0x5d9210
lea ecx, [ebp - 0x1f74]
call fcn.00415da0
mov dword [ebp - 0x1fd0], eax
mov edx, dword [ebp - 0x1fd0]
mov dword [ebp - 0x1fd4], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1fd4]
push eax
lea ecx, [ebp - 0x1f78]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x1fd8], eax
mov edx, dword [ebp - 0x1fd8]
mov dword [ebp - 0x1fdc], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1fdc]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x28]
call fcn.004f7dc5
mov dword [ebp - 0x844], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1f78]
call fcn.00415e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1f74]
call fcn.00415e20
cmp dword [ebp - 0x844], 0
je 0x451e8e
lea ecx, [ebp - 0x28]
call fcn.004f7af4
mov dword [ebp - 0x844], eax
lea ecx, [ebp - 0x1f44]
call fcn.0043a3f0
lea eax, [ebp - 0x1f44]
push eax
lea ecx, [ebp - 0x28]
call fcn.004f7c46
mov ecx, dword [ebp - 0x834]
push ecx
mov edx, dword [ebp - 0x838]
push edx
lea ecx, [ebp - 0x1f44]
call fcn.00455e40
movzx eax, al
test eax, eax
je 0x451e89
lea ecx, [ebp - 0x1f7c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004f7fc4
mov dword [ebp - 0x1fe0], eax
mov ecx, dword [ebp - 0x1fe0]
call fcn.00415f60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1f7c]
call fcn.00415e20
jmp 0x451e06
lea ecx, [ebp - 0x28]
call fcn.004f7a0e
xor edx, edx
mov word [ebp - 0xb14], dx
push 0x208
push 0
lea eax, [ebp - 0xb12]
push eax
call fcn.005281f0
add esp, 0xc
push 0x5d9210
push 0x57d320
lea ecx, [ebp - 0xb14]
push ecx
call fcn.00527b98
add esp, 0xc
push 0x5d9210
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451eea
push 0x5d9210
call fcn.004584a0
add esp, 4
cmp dword [0x5d9a20], 0
jne 0x451f0e
push 0x5d9210
push 0x57d328
lea edx, [ebp - 0xb14]
push edx
call fcn.00527b98
add esp, 0xc
jmp 0x451f60
push 0x57d340
lea eax, [ebp - 0x1f88]
push eax
lea ecx, [ebp - 0x1f84]
push ecx
call fcn.00424380
mov ecx, eax
call fcn.004243f0
mov dword [ebp - 0x1fe4], eax
mov edx, dword [ebp - 0x1fe4]
mov eax, dword [edx]
push eax
push 0x5d9210
push 0x57d350
lea ecx, [ebp - 0xb14]
push ecx
call fcn.00527b98
add esp, 0x10
lea ecx, [ebp - 0x1f88]
call fcn.00415e20
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xae0
call fcn.0041dca0
push 0x57d36c
lea edx, [ebp - 0xb14]
push edx
call fcn.0052a29d
add esp, 8
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x451fae
push 0x57d374
lea eax, [ebp - 0xb14]
push eax
call fcn.0052a29d
add esp, 8
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x452027
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xae0
mov edx, dword [ebp - 0x1f98]
mov eax, dword [edx + 0xae0]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004f7d56
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.00415e20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
jmp 0x452253
mov byte [ebp - 0xf28], 0
xor eax, eax
mov dword [ebp - 0xf27], eax
mov dword [ebp - 0xf23], eax
mov dword [ebp - 0xf1f], eax
mov dword [ebp - 0xf1b], eax
mov word [ebp - 0xf17], ax
mov byte [ebp - 0xf15], al
mov ecx, dword [ebp - 0x830]
push ecx
push 1
push 8
lea edx, [ebp - 0xf28]
push edx
call fcn.00529ea0
add esp, 0x10
lea eax, [ebp - 0xf28]
push eax
call fcn.0052a6c7
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4520b0
mov ecx, dword [ebp - 0x830]
push ecx
call fcn.00529b67
add esp, 4
push 0x57d37c
lea edx, [ebp - 0xb14]
push edx
call fcn.0052a29d
add esp, 8
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
je 0x4521e8
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x5d9a18]
jg 0x4521d9
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push str._08ld_r_n
lea eax, [ebp - 0xf28]
push eax
call fcn.0052a9d1
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp - 0x830]
push ecx
call fcn.0052a152
add esp, 0xc
mov edx, dword [ebp - 0x830]
push edx
push 1
lea eax, [ebp - 0xf28]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0xf28]
push ecx
call fcn.00529a6e
add esp, 0x10
push 2
push 0
mov edx, dword [ebp - 0x830]
push edx
call fcn.0052a152
add esp, 0xc
mov eax, dword [ebp - 0x830]
push eax
push 1
lea ecx, [ebp - 0x8f8]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x1f8c]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1fe8], eax
mov edx, dword [ebp - 0x1fe8]
mov dword [ebp - 0x1fec], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1fec]
call fcn.00412150
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x8f8]
call fcn.00415f60
push eax
lea eax, [ebp - 0x1f90]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x1ff0], eax
mov ecx, dword [ebp - 0x1ff0]
call fcn.00412150
push eax
call fcn.00529a6e
add esp, 0x10
lea ecx, [ebp - 0x1f90]
call fcn.00412130
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1f8c]
call fcn.00412130
mov ecx, dword [ebp - 0x830]
push ecx
call fcn.00529b67
add esp, 4
mov ecx, dword [ebp - 0x1f98]
add ecx, 0xae0
mov edx, dword [ebp - 0x1f98]
mov eax, dword [edx + 0xae0]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004f7d56
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8f8]
call fcn.00415e20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.00415e20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00415e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 0x20