Function at 0x583208
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4a
push 0
push 0
dec ecx
jne 0x583211
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x19c]
mov edx, dword [0x4086fc]
call fcn.004056f0
xor eax, eax
push ebp
push 0x583eae
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x583e4d
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 0xd], 1
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.0040eca4
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x38]
call fcn.00404dc8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1a0]
mov ecx, 0x583ecc
mov edx, dword [ebp - 0x38]
call fcn.0040503c
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x19c]
mov edx, 0x3f
call fcn.0040a1c4
test eax, eax
jne 0x583e38
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x190]
call fcn.00404dc8
mov eax, dword [ebp - 0x14]
mov edx, 0x583ed8
call fcn.0040513c
je 0x583e25
mov eax, dword [ebp - 0x14]
mov edx, 0x583ee4
call fcn.0040513c
je 0x583e25
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov edx, 9
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1a4]
mov edx, 0x583ef0
call fcn.0040513c
jne 0x58331b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x583e72
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x190]
call fcn.00404dc8
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
call fcn.0040503c
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 0x24]
call fcn.0040eca4
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x190]
call fcn.00404ff8
test byte [ebp - 0x194], 0x10
je 0x5833da
cmp byte [ebp + 0x18], 0
je 0x583e25
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov edx, 9
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1a8]
mov edx, 0x583ef0
call fcn.0040513c
jne 0x5833a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x583e72
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov al, byte [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov al, byte [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00583208
mov byte [ebp - 0xd], al
jmp 0x583e25
lea ecx, [ebp - 0x1ac]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov edx, 9
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1ac]
mov edx, 0x583ef0
call fcn.0040513c
jne 0x58340f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x583e72
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
lea ecx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, 1
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1b0]
lea edx, [ebp - 0x1c]
call fcn.0040eca4
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
call fcn.00409448
xor eax, eax
push ebp
push 0x583477
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.005858d0
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00409ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58348e
xor eax, eax
push ebp
push 0x5834c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.005857e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2c]
call fcn.0040cd9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5834d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp + 0x20]
mov edx, 0x583f0c
call fcn.0040513c
je 0x583b82
lea ecx, [ebp - 0x1b4]
mov edx, 1
mov eax, dword [ebp + 0x20]
call fcn.0043e44c
mov eax, dword [ebp - 0x1b4]
mov edx, 0x583f18
call fcn.0040513c
jne 0x583864
mov edx, dword [ebp - 0x14]
mov eax, 0x583ed8
call fcn.00405334
test eax, eax
jle 0x583e25
lea edx, [ebp - 0x1b8]
mov eax, dword [ebp + 0x1c]
call fcn.00409448
mov eax, dword [ebp - 0x1b8]
push eax
lea edx, [ebp - 0x1c4]
mov eax, dword [ebp - 0x14]
call fcn.0040a4d4
mov ecx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1c0]
mov edx, 0x583f24
call fcn.0040503c
mov eax, dword [ebp - 0x1c0]
lea edx, [ebp - 0x1bc]
call fcn.00409448
mov eax, dword [ebp - 0x1bc]
pop edx
call fcn.00405334
test eax, eax
jle 0x583e25
lea edx, [ebp - 0x1c8]
mov eax, dword [ebp - 8]
call fcn.0040eca4
mov edx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 0x1c]
call fcn.0040503c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040eca4
mov eax, dword [ebp - 0x18]
call fcn.00404ff0
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404ff0
pop edx
sub edx, eax
lea ecx, [ebp - 0x1cc]
mov eax, dword [ebp - 0x18]
call fcn.0043e44c
mov edx, dword [ebp - 0x1cc]
lea eax, [ebp - 0x18]
call fcn.00404dc8
lea edx, [ebp - 0x1d0]
mov eax, dword [ebp - 0x1c]
call fcn.0040eca4
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.0040503c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0057e0e4
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5836f5
inc esi
xor ebx, ebx
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
lea ecx, [ebp - 0x1d8]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.00409448
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x30]
call fcn.0040513c
jne 0x5836ed
lea ecx, [ebp - 0x1dc]
lea edx, [ebx + 1]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x28]
call fcn.0040513c
jne 0x5836e1
lea ecx, [ebp - 0x1e0]
lea edx, [ebx + 2]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x2c]
call fcn.0040513c
je 0x5836e7
mov byte [ebp - 0x41], 1
jmp 0x5836f5
mov byte [ebp - 0x41], 0
jmp 0x5836f5
inc ebx
dec esi
jne 0x583662
cmp byte [ebp - 0x41], 0
je 0x583e25
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0057dda0
mov eax, dword [ebp + 0x24]
call fcn.004d9000
test al, al
jne 0x5837aa
mov eax, dword [ebp + 0x24]
call fcn.004d9008
test al, al
jne 0x5837aa
push 0x583f30
push dword [ebp + 0x24]
push 0x583f44
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x1e4]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
mov eax, dword [ebp + 0x24]
call fcn.004d9008
test al, al
jne 0x5837aa
push 0x583f30
push dword [ebp + 0x24]
push 0x583f70
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x1e8]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
jmp 0x583e25
push 0
mov eax, dword [ebp - 0x34]
call fcn.004051f0
mov esi, eax
push esi
mov eax, dword [ebp - 0x30]
call fcn.004051f0
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x583e25
push 0x583f98
push dword [ebp - 0x30]
push 0x583fa8
lea eax, [ebp - 0x1ec]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x1ec]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
push 0
push esi
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x58382b
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
mov edx, 0x583fd8
call fcn.005978d0
jmp 0x583e25
push 0x584008
push dword [ebp - 0x30]
push 0x58402c
lea eax, [ebp - 0x1f0]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x1f0]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 1
call fcn.005978d0
jmp 0x583e25
mov edx, dword [ebp - 0x14]
mov eax, 0x583ed8
call fcn.00405334
test eax, eax
jle 0x583e25
lea edx, [ebp - 0x1f4]
mov eax, dword [ebp + 0x1c]
call fcn.00409448
mov eax, dword [ebp - 0x1f4]
push eax
lea edx, [ebp - 0x200]
mov eax, dword [ebp - 0x14]
call fcn.0040a4d4
mov ecx, dword [ebp - 0x200]
lea eax, [ebp - 0x1fc]
mov edx, 0x583f24
call fcn.0040503c
mov eax, dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
call fcn.00409448
mov eax, dword [ebp - 0x1f8]
pop edx
call fcn.00405334
test eax, eax
jg 0x583e25
lea edx, [ebp - 0x204]
mov eax, dword [ebp - 8]
call fcn.0040eca4
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 0x1c]
call fcn.0040503c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040eca4
mov eax, dword [ebp - 0x18]
call fcn.00404ff0
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404ff0
pop edx
sub edx, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x18]
call fcn.0043e44c
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x18]
call fcn.00404dc8
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 0x1c]
call fcn.0040eca4
mov edx, dword [ebp - 0x20c]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.0040503c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0057e0e4
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x583a13
inc esi
xor ebx, ebx
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
lea ecx, [ebp - 0x214]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.00409448
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x30]
call fcn.0040513c
jne 0x583a0b
lea ecx, [ebp - 0x218]
lea edx, [ebx + 1]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x28]
call fcn.0040513c
jne 0x5839ff
lea ecx, [ebp - 0x21c]
lea edx, [ebx + 2]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x2c]
call fcn.0040513c
je 0x583a05
mov byte [ebp - 0x41], 1
jmp 0x583a13
mov byte [ebp - 0x41], 0
jmp 0x583a13
inc ebx
dec esi
jne 0x583980
cmp byte [ebp - 0x41], 0
je 0x583e25
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0057dda0
mov eax, dword [ebp + 0x24]
call fcn.004d9000
test al, al
jne 0x583ac8
mov eax, dword [ebp + 0x24]
call fcn.004d9008
test al, al
jne 0x583ac8
push 0x583f30
push dword [ebp + 0x24]
push 0x583f44
lea eax, [ebp - 0x220]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x220]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
mov eax, dword [ebp + 0x24]
call fcn.004d9008
test al, al
jne 0x583ac8
push 0x583f30
push dword [ebp + 0x24]
push 0x583f70
lea eax, [ebp - 0x224]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x224]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
jmp 0x583e25
push 0
mov eax, dword [ebp - 0x34]
call fcn.004051f0
mov esi, eax
push esi
mov eax, dword [ebp - 0x30]
call fcn.004051f0
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x583e25
push 0x583f98
push dword [ebp - 0x30]
push 0x583fa8
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x228]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
push 0
push esi
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x583b49
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
mov edx, 0x583fd8
call fcn.005978d0
jmp 0x583e25
push 0x584008
push dword [ebp - 0x30]
push 0x58402c
lea eax, [ebp - 0x22c]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x22c]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 1
call fcn.005978d0
jmp 0x583e25
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.0040eca4
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 0x1c]
call fcn.0040503c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040eca4
mov eax, dword [ebp - 0x18]
call fcn.00404ff0
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404ff0
pop edx
sub edx, eax
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x18]
call fcn.0043e44c
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x18]
call fcn.00404dc8
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x1c]
call fcn.0040eca4
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.0040503c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0057e0e4
mov byte [ebp - 0x41], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x583cbe
inc esi
xor ebx, ebx
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
lea ecx, [ebp - 0x240]
mov edx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.00409448
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x30]
call fcn.0040513c
jne 0x583cb6
lea ecx, [ebp - 0x244]
lea edx, [ebx + 1]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x28]
call fcn.0040513c
jne 0x583caa
lea ecx, [ebp - 0x248]
lea edx, [ebx + 2]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x2c]
call fcn.0040513c
je 0x583cb0
mov byte [ebp - 0x41], 1
jmp 0x583cbe
mov byte [ebp - 0x41], 0
jmp 0x583cbe
inc ebx
dec esi
jne 0x583c2b
cmp byte [ebp - 0x41], 0
je 0x583e25
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov cl, byte [ebp + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0057dda0
mov eax, dword [ebp + 0x24]
call fcn.004d9000
test al, al
jne 0x583d73
mov eax, dword [ebp + 0x24]
call fcn.004d9008
test al, al
jne 0x583d73
push 0x583f30
push dword [ebp + 0x24]
push 0x583f44
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x24c]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
mov eax, dword [ebp + 0x24]
call fcn.004d9008
test al, al
jne 0x583d73
push 0x583f30
push dword [ebp + 0x24]
push 0x583f70
lea eax, [ebp - 0x250]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x250]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
jmp 0x583e25
push 0
mov eax, dword [ebp - 0x34]
call fcn.004051f0
mov esi, eax
push esi
mov eax, dword [ebp - 0x30]
call fcn.004051f0
mov ebx, eax
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x583e25
push 0x583f98
push dword [ebp - 0x30]
push 0x583fa8
lea eax, [ebp - 0x254]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x254]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
call fcn.005978d0
push 0
push esi
push ebx
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x583df1
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 2
mov edx, 0x583fd8
call fcn.005978d0
jmp 0x583e25
push 0x584008
push dword [ebp - 0x30]
push 0x58402c
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.004050b0
mov edx, dword [ebp - 0x258]
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov ecx, 1
call fcn.005978d0
lea eax, [ebp - 0x19c]
call fcn.0040a214
test eax, eax
je 0x5832a6
lea eax, [ebp - 0x19c]
call fcn.0040a238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x583e72
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x583eb5
lea eax, [ebp - 0x258]
mov edx, 0x2f
call fcn.00404d54
lea eax, [ebp - 0x19c]
mov edx, dword [0x4086fc]
call fcn.004057c0
lea eax, [ebp - 0x3c]
mov edx, 0xb
call fcn.00404d54
ret