Function at 0x53aa40
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c67bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push esi
push edi
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 1
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xd0], 0
push eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0053a6b0
test al, al
je 0x53b540
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x53b540
lea eax, [ebp - 0xdc]
push eax
call fcn.0059defd
lea eax, [ebp - 0xdc]
push eax
call fcn.0059d86e
push eax
push str._Y_m_d__H__M__S
lea eax, [ebp - 0x184]
push 0x50
push eax
call fcn.0059afc7
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x70], 0
add esp, 0x18
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x70], 0
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x53ab40
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00449cf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
add eax, ecx
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xc4]
call fcn.004a82f0
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x53adb9
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 3
jb 0x53b795
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 3
push 0x5ee8d0
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0xac]
call fcn.0044f200
push 0x5dde40
lea edx, [ebp - 0xac]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call fcn.0044cdc0
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.0044ce40
push 0x5dde40
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c]
call fcn.0044cdc0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.0044ce40
add esp, 0x10
lea ecx, [ebp - 0xc4]
push eax
call fcn.00446db0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x53ac65
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53ac5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79a
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp ecx, 8
jb 0x53acb7
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53acad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79a
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp ecx, 8
jb 0x53ad0c
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53ad02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79a
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp ecx, 8
jb 0x53ad61
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53ad57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79a
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp ecx, 8
jb 0x53adb9
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53adaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79a
push ecx
push edx
call fcn.00583877
add esp, 8
lea eax, [ebp - 0x43c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x53af74
push 0
push 0x5e7f08
push str.Cant_find_PROGRAMDATA_folder
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 0x20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.0044a110
mov ecx, 7
mov dword [ebp - 0x2c], 0x1d
mov esi, str.Cant_find_programdata_folder
mov dword [ebp - 0x28], 0x1f
mov edi, eax
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x1d], 0
push 0x20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0044a110
mov ecx, dword [str.screen_program_data]
mov edx, eax
mov dword [ebp - 0x14], 0x13
mov dword [ebp - 0x10], 0x1f
mov dword [ebp - 0x24], edx
mov dword [edx], ecx
mov ecx, dword [0x5f3e74]
mov dword [edx + 4], ecx
mov ecx, dword [0x5f3e78]
mov dword [edx + 8], ecx
mov eax, dword [0x5f3e7c]
mov dword [edx + 0xc], eax
mov ax, word [0x5f3e80]
mov word [edx + 0x10], ax
mov al, byte [0x5f3e82]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push eax
push 0xce
lea eax, [ebp - 0x3c]
mov ecx, 2
push str.ScreenCapture.cpp
push eax
lea edx, [ebp - 0x24]
call fcn.004d4b60
mov ecx, dword [ebp - 0x10]
add esp, 0x10
cmp ecx, 0x10
jb 0x53aee4
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53aeda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a9
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x53af18
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53af0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a9
push ecx
push edx
call fcn.00583877
add esp, 8
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x53b49f
mov esi, edi
cmp esi, dword [ebp - 0x44]
je 0x53af3f
lea ebx, [ebx]
mov ecx, esi
call fcn.00438e00
add esi, 0x40
cmp esi, dword [ebp - 0x44]
jne 0x53af30
mov ecx, dword [ebp - 0x40]
mov eax, edi
sub ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x53af65
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a9
push ecx
push edi
call fcn.00583877
add esp, 8
jmp 0x53b49f
lea edi, [ebp - 0x43c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x53af80
mov ecx, 0xb
lea eax, [ebp - 0x43c]
mov esi, str.AeroadminScreenshots
rep movsd dword es:[edi], dword [esi]
push 0
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x53b182
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00446ee0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
push 4
mov dword [ebp - 0x88], 0
push str.path
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.00449cf0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x134]
call fcn.004d2ca0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x11
push ecx
lea eax, [ebp - 0xf4]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.004456c0
push 0x30
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.0044a110
mov ecx, 9
mov dword [ebp - 0x2c], 0x25
mov esi, str.Screenshot:_Cant_create_directory_
mov dword [ebp - 0x28], 0x2f
mov edi, eax
mov dword [ebp - 0x3c], eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0x25], 0
push 0x20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.0044a110
mov ecx, dword [str.screen_create_dir]
mov edx, eax
mov dword [ebp - 0x14], 0x11
mov dword [ebp - 0x10], 0x1f
mov dword [ebp - 0x24], edx
mov dword [edx], ecx
mov ecx, dword [0x5f3ee0]
mov dword [edx + 4], ecx
mov ecx, dword [0x5f3ee4]
mov dword [edx + 8], ecx
mov eax, dword [0x5f3ee8]
mov dword [edx + 0xc], eax
mov al, byte [0x5f3eec]
mov byte [edx + 0x10], al
mov byte [edx + 0x11], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x14
push eax
push 0xd4
lea eax, [ebp - 0x3c]
mov ecx, 2
push str.ScreenCapture.cpp
push eax
lea edx, [ebp - 0x24]
call fcn.004d4b60
mov byte [ebp - 4], 0x13
add esp, 0x10
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x53b10f
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b105
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79f
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x53b147
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b13d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b79f
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x10
push eax
call fcn.00583d37
lea ecx, [ebp - 0x88]
call fcn.004470b0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
call fcn.00449550
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
lea eax, [ebp - 0x43c]
push eax
jne 0x53b1e2
lea ecx, [ebp - 0xac]
call fcn.00446ee0
push eax
mov edx, str.Cant_create_folder:
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x24]
call fcn.004a1db0
add esp, 4
lea ecx, [ebp - 0xac]
call fcn.00449550
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
push 0x5e7f08
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x24]
jmp 0x53b49a
lea ecx, [ebp - 0x88]
call fcn.00446ee0
push 0x5ed894
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3c]
call fcn.0044cdc0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x17
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.0044ce40
push str..jpeg
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xac]
call fcn.0044cdc0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00449550
lea ecx, [ebp - 0x3c]
call fcn.00449550
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1c
call fcn.00449550
sub esp, 8
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x234]
push 0x22
push eax
call fcn.004d7ba0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
sub ecx, eax
push 0
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004658d0
lea ecx, [ebp - 0x234]
call fcn.004d7b60
lea eax, [ebp - 0xac]
mov edx, str.Screenshot:
push eax
lea ecx, [ebp - 0xf4]
call fcn.0044cff0
add esp, 4
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
push 0
cmovae eax, dword [ebp - 0xf4]
push 0x5dd908
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 4
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push str.path
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00449cf0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x134]
call fcn.004d2ca0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x20
push ecx
lea eax, [ebp - 0xf4]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.004456c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x3c]
push 0x13
mov dword [ebp - 0x3c], 0
push str.Screenshot_saved_
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00449cf0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x88]
push 6
mov dword [ebp - 0x88], 0
push str.screen
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.00449cf0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x23
push eax
push 0xe5
lea eax, [ebp - 0x3c]
xor ecx, ecx
push str.ScreenCapture.cpp
push eax
lea edx, [ebp - 0x88]
call fcn.004d4b60
mov byte [ebp - 4], 0x22
add esp, 0x10
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x53b3f1
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b3e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a4
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x53b429
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b41f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a4
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x53b47e
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b474
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a4
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0xf4]
call fcn.00449550
lea ecx, [ebp - 0x234]
call fcn.00440500
lea ecx, [ebp - 0xac]
call fcn.00449550
mov ecx, dword [ebp - 0xb0]
cmp ecx, 8
jb 0x53b4df
mov edx, dword [ebp - 0xc4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53b4d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a9
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
cmp ecx, 0x10
jb 0x53b530
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b526
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7a9
push ecx
push edx
call fcn.00583877
add esp, 8
push dword [ebp - 0x58]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
xor esi, esi
jmp 0x53b6c9
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 0x20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0044a110
mov ecx, dword [str.Cant_take_screenshot]
mov edx, eax
mov dword [ebp - 0x14], 0x15
mov dword [ebp - 0x10], 0x1f
mov dword [ebp - 0x24], edx
mov dword [edx], ecx
mov ecx, dword [0x5f3ef4]
mov dword [edx + 4], ecx
mov ecx, dword [0x5f3ef8]
mov dword [edx + 8], ecx
mov eax, dword [0x5f3efc]
mov dword [edx + 0xc], eax
mov eax, dword [0x5f3f00]
mov dword [edx + 0x10], eax
mov al, byte [0x5f3f04]
mov byte [edx + 0x14], al
mov byte [edx + 0x15], 0
mov eax, dword [str.screen_shot]
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x70], eax
mov eax, dword [0x5f3f0c]
mov dword [ebp - 0x6c], eax
mov ax, word [0x5f3f10]
mov word [ebp - 0x68], ax
mov al, byte [0x5f3f12]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0xb
mov byte [ebp - 0x66], al
mov byte [ebp - 0x65], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
push 0xb4
lea eax, [ebp - 0x24]
mov ecx, 2
push str.ScreenCapture.cpp
push eax
lea edx, [ebp - 0x70]
call fcn.004d4b60
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
cmp ecx, 0x10
jb 0x53b645
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b63b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7ae
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x53b679
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53b66f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7ae
push ecx
push edx
call fcn.00583877
add esp, 8
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x53b6c6
mov esi, edi
cmp esi, dword [ebp - 0x44]
je 0x53b696
mov ecx, esi
call fcn.00438e00
add esi, 0x40
cmp esi, dword [ebp - 0x44]
jne 0x53b687
mov ecx, dword [ebp - 0x40]
mov eax, edi
sub ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x53b6bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7ae
push ecx
push edi
call fcn.00583877
add esp, 8
or esi, 0xffffffff
mov edx, dword [ebp - 0x94]
test edx, edx
je 0x53b703
mov ecx, dword [ebp - 0x8c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x53b6f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7ae
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x53b739
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53b72f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7ae
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x53b783
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x53b779
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53b7ae
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004353d0
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
int3