Function at 0x456ed4
Capabilities:
Accept command line arguments
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb3
push 0
push 0
dec ecx
jne 0x456edc
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x458162
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1a0], 0
jne 0x456f30
mov dl, 1
mov eax, dword [0x435cb0]
call fcn.0043d8e0
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, 0x1a0
mov edx, ebx
test edx, edx
je 0x456f2b
sub edx, 0xffffffc0
call fcn.00406888
mov eax, esi
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1a0]
call fcn.00406888
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x1c4], 0
je 0x458032
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1a0]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x458032
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1a0]
call fcn.00406888
lea eax, [ebp - 0x49c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1a0]
mov ecx, 0x458174
call fcn.004068b4
mov eax, dword [ebp - 0x49c]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x457100
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4a4]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x224]
mov cx, 0x30
mov edx, 4
call fcn.0040ac9c
push dword [ebp - 0x4a4]
push 0x458188
lea eax, [ebp - 0x4a8]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x226]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x4a8]
push 0x458188
lea eax, [ebp - 0x4ac]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x22a]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x4ac]
push 0x458190
lea eax, [ebp - 0x4b0]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x22c]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x4b0]
push 0x45819c
lea eax, [ebp - 0x4b4]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x22e]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x4b4]
push 0x45819c
lea eax, [ebp - 0x4b8]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x230]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x4b8]
push 0x458190
lea eax, [ebp - 0x4bc]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x232]
mov cx, 0x30
mov edx, 1
call fcn.0040ac9c
push dword [ebp - 0x4bc]
push 0x4581a4
lea eax, [ebp - 0x4a0]
mov edx, 0xe
call fcn.004051d8
mov edx, dword [ebp - 0x4a0]
mov eax, 0x4581b0
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45710a
xor eax, eax
push ebp
push 0x45713f
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4c0]
call fcn.00430934
mov edx, dword [ebp - 0x4c0]
mov eax, 0x4581c8
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457149
xor eax, eax
push ebp
push 0x45717e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4c4]
call fcn.00455964
mov edx, dword [ebp - 0x4c4]
mov eax, 0x4581e8
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457188
xor eax, eax
push ebp
push 0x457227
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0x104
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4571ce
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x236]
push eax
call sub.advapi32.dll_GetUserNameW
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x236]
mov ecx, 0x105
call fcn.004050cc
jmp 0x4571f8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x236]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x236]
mov dword [ebp - 0x4c8], edx
mov edx, dword [ebp - 0x4c8]
call fcn.004050e8
call fcn.004558c4
test al, al
je 0x45720e
lea eax, [ebp - 0x14]
mov edx, 0x45820c
call fcn.00405114
push ebp
mov edx, dword [ebp - 0x14]
mov eax, 0x458224
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457231
xor eax, eax
push ebp
push 0x45731c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x45725a
lea eax, [ebp - 0x14]
mov edx, 0x45823c
call fcn.00404fa4
jmp 0x457262
lea eax, [ebp - 0x14]
call fcn.00404f44
lea eax, [ebp - 0x18]
push eax
push 0x458248
push dword [ebp - 0x14]
push 0x458284
lea eax, [ebp - 0x4cc]
mov edx, 3
call fcn.004051d8
mov edx, dword [ebp - 0x4cc]
mov ecx, 0x4582a8
mov eax, 0x80000002
call fcn.004309e0
lea eax, [ebp - 0x4d0]
push eax
push 0x458248
push dword [ebp - 0x14]
push 0x458284
lea eax, [ebp - 0x4d4]
mov edx, 3
call fcn.004051d8
mov edx, dword [ebp - 0x4d4]
mov ecx, 0x4582dc
mov eax, 0x80000002
call fcn.004309e0
mov edx, dword [ebp - 0x4d0]
lea eax, [ebp - 0x14]
call fcn.00404fa4
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00405220
je 0x457303
push dword [ebp - 0x14]
push 0x458300
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004051d8
push ebp
mov edx, dword [ebp - 0x14]
mov eax, 0x45830c
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457326
xor eax, eax
push ebp
push 0x45735b
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4d8]
call fcn.00455ca4
mov edx, dword [ebp - 0x4d8]
mov eax, 0x458334
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457365
xor eax, eax
push ebp
push 0x45739a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4dc]
call fcn.00455d54
mov edx, dword [ebp - 0x4dc]
mov eax, 0x45835c
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4573a4
xor eax, eax
push ebp
push 0x4573d9
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4e0]
call fcn.00455e20
mov edx, dword [ebp - 0x4e0]
mov eax, 0x458380
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4573e3
xor eax, eax
push ebp
push 0x457418
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4e4]
call fcn.00455e78
mov edx, dword [ebp - 0x4e4]
mov eax, 0x4583a4
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457422
xor eax, eax
push ebp
push 0x4574b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00455f88
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00405220
je 0x4574ab
call fcn.0045606c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x457463
push ebp
mov edx, dword [ebp - 0x14]
mov eax, 0x4583c8
call fcn.00456e30
pop ecx
jmp 0x4574ab
push ebp
lea eax, [ebp - 0x4ec]
push eax
mov cx, 0x30
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040aba8
push dword [ebp - 0x4ec]
push 0x4583e0
push dword [ebp - 0x14]
lea eax, [ebp - 0x4e8]
mov edx, 3
call fcn.004051d8
mov edx, dword [ebp - 0x4e8]
mov eax, 0x4583ec
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4574bf
xor eax, eax
push ebp
push 0x4574f4
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4f0]
call fcn.00456198
mov edx, dword [ebp - 0x4f0]
mov eax, 0x458408
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4574fe
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x457549
xor eax, eax
push ebp
push 0x45753f
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x4f4]
call fcn.004562fc
mov edx, dword [ebp - 0x4f4]
mov eax, 0x45842c
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457549
xor eax, eax
push ebp
push 0x457671
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x458450
push 0x458464
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x236]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00430190
mov ebx, dword [0x533568]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
call ebx
mov ebx, eax
mov esi, dword [0x533568]
mov esi, dword [esi]
lea eax, [ebp - 0x236]
mov al, byte [eax]
call esi
cmp bl, al
je 0x45762f
push ebp
push ebp
lea eax, [ebp - 0x500]
lea edx, [ebp - 0x236]
mov dl, byte [edx]
call fcn.00404970
mov eax, dword [ebp - 0x500]
lea edx, [ebp - 0x4fc]
call fcn.00456cb4
pop ecx
push dword [ebp - 0x4fc]
push 0x458478
push ebp
lea eax, [ebp - 0x508]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
call fcn.00404970
mov eax, dword [ebp - 0x508]
lea edx, [ebp - 0x504]
call fcn.00456cb4
pop ecx
push dword [ebp - 0x504]
lea eax, [ebp - 0x4f8]
mov edx, 3
call fcn.004051d8
mov edx, dword [ebp - 0x4f8]
mov eax, 0x458480
call fcn.00456e30
pop ecx
jmp 0x457667
push ebp
push ebp
lea eax, [ebp - 0x510]
lea edx, [ebp - 0x236]
mov dl, byte [edx]
call fcn.00404970
mov eax, dword [ebp - 0x510]
lea edx, [ebp - 0x50c]
call fcn.00456cb4
pop ecx
mov edx, dword [ebp - 0x50c]
mov eax, 0x458480
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45767b
xor eax, eax
push ebp
push 0x4576b0
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x514]
call fcn.004563b8
mov edx, dword [ebp - 0x514]
mov eax, 0x4584a4
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4576ba
xor eax, eax
push ebp
push 0x4576fe
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x518]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cx, 0x30
mov edx, 1
call fcn.0040ad2c
mov edx, dword [ebp - 0x518]
mov eax, 0x4584c4
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457708
xor eax, eax
push ebp
push 0x45773d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x51c]
call fcn.0045657c
mov edx, dword [ebp - 0x51c]
mov eax, 0x4584e0
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457747
xor eax, eax
push ebp
push 0x45777c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 0x520]
call fcn.004565a0
mov edx, dword [ebp - 0x520]
mov eax, 0x458508
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457786
xor eax, eax
push ebp
push 0x457817
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x52fe28], 0
je 0x45780d
call fcn.00402aa4
test eax, eax
jle 0x45780d
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4577d8
push ebp
call sub.kernel32.dll_GetCommandLineW
mov edx, eax
lea eax, [ebp - 0x524]
call fcn.0040506c
mov edx, dword [ebp - 0x524]
mov eax, 0x458534
call fcn.00456e30
pop ecx
jmp 0x45780d
push ebp
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x52c]
call fcn.00404990
mov edx, dword [ebp - 0x52c]
lea eax, [ebp - 0x528]
call fcn.004050e8
mov edx, dword [ebp - 0x528]
mov eax, 0x458534
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457821
xor eax, eax
push ebp
push 0x457869
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea edx, [ebp - 0x534]
xor eax, eax
call fcn.00430190
mov eax, dword [ebp - 0x534]
lea edx, [ebp - 0x530]
call fcn.0040c0dc
mov edx, dword [ebp - 0x530]
mov eax, 0x458554
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457873
xor eax, eax
push ebp
push 0x4578cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x52ff04]
je 0x4578c3
push ebp
lea edx, [ebp - 0x53c]
mov eax, dword [0x52ff04]
call fcn.00430190
mov eax, dword [ebp - 0x53c]
lea edx, [ebp - 0x538]
call fcn.0040c0dc
mov edx, dword [ebp - 0x538]
mov eax, 0x458570
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4578d7
xor edx, edx
push ebp
push 0x457b56
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x52ff10], 0
je 0x4578fa
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00430190
jmp 0x457907
lea edx, [ebp - 0x14]
mov eax, dword [0x52ff04]
call fcn.00430190
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x45792a
lea eax, [ebp - 0x488]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004050f8
push eax
call sub.kernel32.dll_FindFirstFileW
jmp 0x457950
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x540]
mov edx, dword [ebp - 0x14]
call fcn.00404a20
mov eax, dword [ebp - 0x540]
call fcn.00404c58
push eax
call sub.kernel32.dll_FindFirstFileA_1
cmp eax, 0xffffffff
je 0x457b4c
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
push ebp
push 0x457acc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x474]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x474]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
cmp byte [0x52ff10], 0
jne 0x4579ab
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x52ff04]
jne 0x4579ba
lea eax, [ebp - 0x18]
mov edx, 0x458594
call fcn.00404fa4
jmp 0x4579c7
lea eax, [ebp - 0x18]
mov edx, 0x4585a4
call fcn.00404fa4
push ebp
lea eax, [ebp - 0x548]
push eax
movzx eax, word [ebp - 0x498]
mov cx, 0x30
mov edx, 4
call fcn.0040ac9c
push dword [ebp - 0x548]
push 0x458188
lea eax, [ebp - 0x54c]
push eax
movzx eax, word [ebp - 0x496]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x54c]
push 0x458188
lea eax, [ebp - 0x550]
push eax
movzx eax, word [ebp - 0x492]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x550]
push 0x458478
lea eax, [ebp - 0x554]
push eax
movzx eax, word [ebp - 0x490]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x554]
push 0x45819c
lea eax, [ebp - 0x558]
push eax
movzx eax, word [ebp - 0x48e]
mov cx, 0x30
mov edx, 2
call fcn.0040ac9c
push dword [ebp - 0x558]
push 0x4585b8
lea eax, [ebp - 0x544]
mov edx, 0xa
call fcn.004051d8
mov eax, dword [ebp - 0x544]
push eax
lea eax, [ebp - 0x55c]
mov ecx, 0x4585c4
mov edx, dword [ebp - 0x18]
call fcn.00405174
mov eax, dword [ebp - 0x55c]
pop edx
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457ad6
lea edx, [ebp - 0x560]
mov eax, dword [ebp - 0x10]
call fcn.0043a1d8
mov eax, dword [ebp - 0x560]
xor edx, edx
call fcn.00405220
jne 0x457b2c
lea edx, [ebp - 0x564]
mov eax, dword [ebp - 0x14]
call fcn.0040ed18
mov edx, dword [ebp - 0x564]
lea eax, [ebp - 0x14]
call fcn.00404fa4
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00405220
je 0x457b4c
push ebp
mov edx, dword [ebp - 0x14]
mov eax, 0x4585e0
call fcn.00456e30
pop ecx
jmp 0x457b4c
push ebp
lea edx, [ebp - 0x568]
mov eax, dword [ebp - 0x10]
call fcn.0043a1d8
mov edx, dword [ebp - 0x568]
mov eax, 0x4585e0
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457b60
xor eax, eax
push ebp
push 0x457bc3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4585f0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
test ebx, ebx
je 0x457bb9
lea edx, [ebp - 0x56c]
mov eax, ebx
call fcn.00430190
mov eax, dword [ebp - 0x56c]
mov ebx, dword [0x533208]
mov ebx, dword [ebx]
lea edx, [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.00405220
je 0x457bb9
push ebp
mov edx, dword [ebp - 0x14]
mov eax, 0x458600
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457bcd
xor eax, eax
push ebp
push 0x457c2a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov edx, 0x45861c
mov eax, 0x458634
call fcn.00456e30
pop ecx
push ebp
lea eax, [ebp - 0x574]
mov edx, dword [0x52fe18]
call fcn.00404990
mov edx, dword [ebp - 0x574]
lea eax, [ebp - 0x570]
call fcn.004050e8
mov edx, dword [ebp - 0x570]
mov eax, 0x458654
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457c34
lea ecx, [ebp - 0x18]
mov edx, 0x458680
mov eax, dword [ebp - 0x10]
call fcn.0043c30c
mov ebx, dword [0x5334e0]
mov ebx, dword [ebx]
mov dl, 0x7c
mov eax, dword [ebp - 0x18]
call ebx
test eax, eax
jle 0x457e0a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 1
xor eax, eax
push ebp
push 0x457df4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [0x5335c0]
mov ebx, dword [ebx]
mov cl, 0x7c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call ebx
mov eax, dword [0x535824]
call fcn.00405ee4
mov ebx, eax
test ebx, ebx
jl 0x457dea
inc ebx
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x24]
mov eax, esi
shl esi, 3
sub esi, eax
mov eax, dword [0x535824]
mov eax, dword [eax + esi*4]
mov edi, dword [0x532fc8]
mov edi, dword [edi]
mov edx, dword [ebp - 0x14]
call edi
test al, al
je 0x457de0
mov eax, dword [0x535824]
cmp byte [eax + esi*4 + 0x18], 0
jne 0x457dea
mov eax, dword [0x535824]
cmp dword [eax + esi*4 + 8], 0
je 0x457d24
push ebp
mov eax, dword [0x535824]
mov ebx, dword [eax + esi*4 + 8]
lea eax, [ebp - 0x57c]
call ebx
mov edx, dword [ebp - 0x57c]
lea eax, [ebp - 0x578]
call fcn.004050e8
mov edx, dword [ebp - 0x578]
mov eax, dword [0x535824]
mov eax, dword [eax + esi*4]
call fcn.00456e30
pop ecx
jmp 0x457dea
mov eax, dword [0x535824]
cmp dword [eax + esi*4 + 0xc], 0
je 0x457d5b
push ebp
mov eax, dword [0x535824]
mov ebx, dword [eax + esi*4 + 0xc]
lea eax, [ebp - 0x580]
call ebx
mov edx, dword [ebp - 0x580]
mov eax, dword [0x535824]
mov eax, dword [eax + esi*4]
call fcn.00456e30
pop ecx
jmp 0x457dea
mov eax, dword [0x535824]
cmp dword [eax + esi*4 + 0x10], 0
je 0x457dac
push ebp
mov eax, dword [0x535824]
mov ebx, dword [eax + esi*4 + 0x10]
lea edx, [ebp - 0x588]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x457d83
sub eax, 0xfffffdc0
call ebx
mov edx, dword [ebp - 0x588]
lea eax, [ebp - 0x584]
call fcn.004050e8
mov edx, dword [ebp - 0x584]
mov eax, dword [0x535824]
mov eax, dword [eax + esi*4]
call fcn.00456e30
pop ecx
jmp 0x457dea
push ebp
mov eax, dword [0x535824]
mov ebx, dword [eax + esi*4 + 0x14]
lea edx, [ebp - 0x58c]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x457dc8
sub eax, 0xfffffdc0
call ebx
mov edx, dword [ebp - 0x58c]
mov eax, dword [0x535824]
mov eax, dword [eax + esi*4]
call fcn.00456e30
pop ecx
jmp 0x457dea
inc dword [ebp - 0x24]
dec ebx
jne 0x457ca5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457dfe
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x457c65
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x457e3a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov edx, 0x45868c
mov eax, 0x4586c0
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457e44
xor eax, eax
push ebp
push 0x457e9c
push dword fs:[eax]
mov dword fs:[eax], esp
add dword [0x530854], 1
adc dword [0x530858], 0
push ebp
push dword [0x530858]
push dword [0x530854]
lea ecx, [ebp - 0x590]
mov dx, 0x30
mov eax, 1
call fcn.0040ace8
mov edx, dword [ebp - 0x590]
mov eax, 0x4586e0
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457ea6
xor eax, eax
push ebp
push 0x457f99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4f], 1
je 0x457f6f
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00456af4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.00456a84
push ebp
mov edx, dword [ebp - 0x18]
mov eax, 0x458708
call fcn.00456e30
pop ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00405220
je 0x457f8f
lea edx, [ebp - 0x594]
mov eax, dword [ebp - 0x14]
call fcn.00432de8
mov edx, dword [ebp - 0x594]
lea eax, [ebp - 0x14]
call fcn.00404fa4
push 0
mov ebx, dword [0x5332c0]
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
mov ecx, 0x458478
mov edx, 0x45872c
call ebx
push 0
mov ebx, dword [0x5332c0]
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
mov ecx, 0x458478
mov edx, 0x458734
call ebx
push 1
mov ebx, dword [0x5332c0]
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
mov ecx, 0x458478
mov edx, 0x45873c
call ebx
push ebp
mov edx, dword [ebp - 0x14]
mov eax, 0x458748
call fcn.00456e30
pop ecx
jmp 0x457f8f
push ebp
lea edx, [ebp - 0x598]
mov eax, dword [ebp - 0x10]
call fcn.0043a244
mov edx, dword [ebp - 0x598]
mov eax, 0x458748
call fcn.00456e30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457fa3
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
push ebp
push 0x458020
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x457fef
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax + edx*8 + 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*8]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x28]
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x457fcc
lea eax, [ebp - 0x59c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1a0]
mov ecx, 0x458174
call fcn.004068b4
mov eax, dword [ebp - 0x59c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45802a
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45816c
lea eax, [ebp - 0x59c]
call fcn.00406870
lea eax, [ebp - 0x598]
mov edx, 4
call fcn.00404f5c
lea eax, [ebp - 0x588]
call fcn.00404788
lea eax, [ebp - 0x584]
mov edx, 2
call fcn.00404f5c
lea eax, [ebp - 0x57c]
call fcn.00404788
lea eax, [ebp - 0x578]
call fcn.00404f44
lea eax, [ebp - 0x574]
call fcn.00404788
lea eax, [ebp - 0x570]
mov edx, 0xc
call fcn.00404f5c
lea eax, [ebp - 0x540]
call fcn.00404788
lea eax, [ebp - 0x53c]
mov edx, 4
call fcn.00404f5c
lea eax, [ebp - 0x52c]
call fcn.00404788
lea eax, [ebp - 0x528]
mov edx, 6
call fcn.00404f5c
lea eax, [ebp - 0x510]
call fcn.00404788
lea eax, [ebp - 0x50c]
call fcn.00404f44
lea eax, [ebp - 0x508]
call fcn.00404788
lea eax, [ebp - 0x504]
call fcn.00404f44
lea eax, [ebp - 0x500]
call fcn.00404788
lea eax, [ebp - 0x4fc]
mov edx, 0xd
call fcn.00404f5c
lea eax, [ebp - 0x4c4]
mov edx, 0xa
call fcn.00404f5c
lea eax, [ebp - 0x49c]
call fcn.00406870
lea eax, [ebp - 0x28]
call fcn.00406870
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404f5c
lea eax, [ebp - 8]
mov edx, dword [0x456c90]
call fcn.004061b8
ret