Function at 0x436930
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b2f9
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x530]
mov dword fs:[0], eax
mov eax, dword [esp + 0x540]
mov edx, dword [esp + 0x54c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x544]
mov dword [esp + 0x2c], eax
mov eax, dword [edx]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x548]
mov dword [esp + 0x28], edx
jle 0x437a42
add eax, 0xffffffff
mov dword [edx], eax
mov esi, dword [ecx + 0x18]
cmp esi, ebx
je 0x4369c8
nop
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x436ce4
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x4369b0
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x437a42
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
mov esi, 7
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
call fcn.00406cc0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x538], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
call fcn.00406cc0
mov byte [esp + 0x538], 1
mov eax, dword [esp + 0x98]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x436a49
call fcn.0043f7bb
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x436a61
lea eax, [esp + 0x88]
cmp word [eax + esi*2], 0x5c
je 0x436ac0
lea ecx, [esp + 0x84]
push ecx
mov ebx, 0x46042c
lea esi, [esp + 0xdc]
call fcn.00408750
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x540], 2
call fcn.00406cc0
mov byte [esp + 0x538], 1
cmp dword [esp + 0xf0], 8
jb 0x436abe
mov edx, dword [esp + 0xdc]
push edx
call fcn.0043ef40
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x7c]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x436ad0
call fcn.0043f7bb
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x436ae2
lea eax, [esp + 0x6c]
cmp word [eax + esi*2], 0x5c
je 0x436b3b
lea eax, [esp + 0x68]
push eax
mov ebx, 0x46042c
lea esi, [esp + 0xdc]
call fcn.00408750
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
mov byte [esp + 0x540], 3
call fcn.00406cc0
mov byte [esp + 0x538], 1
cmp dword [esp + 0xf0], 8
jb 0x436b39
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0043ef40
add esp, 4
xor ebx, ebx
push 4
mov edi, 7
push str.name
lea esi, [esp + 0xc4]
lea ebp, [edi + 1]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
call fcn.00406f20
mov ecx, dword [esp + 0x18]
mov edx, esi
push edx
mov byte [esp + 0x53c], 4
call fcn.0042d0e0
mov byte [esp + 0x538], 1
cmp dword [esp + 0xd4], ebp
mov esi, eax
jb 0x436ba3
mov eax, dword [esp + 0xc0]
push eax
call fcn.0043ef40
add esp, 4
cmp esi, ebx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
je 0x4379b1
mov eax, esi
lea ecx, [esp + 0xd8]
call fcn.004270b0
push eax
lea ecx, [esp + 0x88]
push ecx
lea edi, [esp + 0x54]
mov byte [esp + 0x540], 5
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x540], 6
call fcn.00406cc0
cmp dword [esp + 0x64], ebp
jb 0x436c16
mov edx, dword [esp + 0x50]
push edx
call fcn.0043ef40
add esp, 4
mov byte [esp + 0x538], 1
cmp dword [esp + 0xf0], ebp
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x436c48
mov eax, dword [esp + 0xdc]
push eax
call fcn.0043ef40
add esp, 4
mov eax, esi
lea ecx, [esp + 0xd8]
call fcn.004270b0
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edi, [esp + 0x54]
mov byte [esp + 0x540], 7
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x540], 8
call fcn.00406cc0
cmp dword [esp + 0x64], ebp
jb 0x436c97
mov edx, dword [esp + 0x50]
push edx
call fcn.0043ef40
add esp, 4
mov edi, 7
mov byte [esp + 0x538], 1
cmp dword [esp + 0xf0], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x436cca
mov eax, dword [esp + 0xdc]
push eax
call fcn.0043ef40
add esp, 4
call fcn.00406bc0
mov ecx, dword [eax + 0x40]
cmp ecx, dword [eax + 0x44]
jge 0x436cf2
cmp ecx, ebx
jl 0x436cf2
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + ecx*4 + 8]
jmp 0x436cf4
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x4369ca
xor eax, eax
push eax
call fcn.00429da0
add esp, 4
test eax, eax
jne 0x437a7c
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 0x20
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00419320
lea eax, [esp + 0x30]
lea ecx, [esp + 0x110]
mov byte [esp + 0x538], 9
call fcn.004270b0
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0x48], 0x10
jb 0x436d5e
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ef40
add esp, 4
mov eax, dword [esp + 0x124]
push str.folder
mov edi, 6
lea ecx, [esp + 0x114]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00411e60
neg eax
sbb eax, eax
inc eax
je 0x436f97
cmp dword [esp + 0x7c], ebx
je 0x436dbd
cmp dword [esp + 0x80], ebp
mov eax, dword [esp + 0x6c]
jae 0x436da9
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x68]
push eax
call fcn.0041bcd0
add esp, 4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00436930
test eax, eax
jne 0x43792a
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x436dfc
lea eax, [esp + 0x88]
push eax
push 0x464f54
push 0x400
lea eax, [esp + 0x138]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xf4]
call fcn.0042a750
mov byte [esp + 0x538], 0xc
mov edi, 7
lea eax, [esp + 0x12c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436e50
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x130]
push ecx
lea esi, [esp + 0x54]
call fcn.00406f20
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0xfc]
mov byte [esp + 0x540], 0xd
call fcn.00406d90
cmp dword [esp + 0x64], ebp
jb 0x436e9f
mov eax, dword [esp + 0x50]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x10c], ebp
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x436ec3
lea edx, [esp + 0xf8]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x436efd
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436ed2
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x10c], ebp
jb 0x436f16
mov eax, dword [esp + 0xf8]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x128], ebp
jb 0x436f2f
mov ecx, dword [esp + 0x114]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
jb 0x436f5f
mov edx, dword [esp + 0x6c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x437acc
mov eax, dword [esp + 0x88]
push eax
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x437a47
mov esi, dword [esp + 0x24]
cmp dword [esi + 0x14], ebx
je 0x436fbd
cmp dword [esi + 0x18], ebp
jb 0x436faa
mov eax, dword [esi + 4]
jmp 0x436fad
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call fcn.0041bcd0
add esp, 4
mov ebp, 5
lea eax, [ebp + 3]
jmp 0x436fd2
mov eax, esi
cmp dword [esp + 0x80], eax
mov esi, dword [esp + 0x6c]
jae 0x436fe3
lea esi, [esp + 0x6c]
cmp dword [esp + 0x9c], eax
mov edi, dword [esp + 0x88]
jae 0x436ffa
lea edi, [esp + 0x88]
push ebx
call fcn.00425bf0
add esp, 4
test eax, eax
jne 0x4370de
lea edx, [esp + 0x68]
push edx
mov ebx, str..rename
lea esi, [esp + 0xc0]
call fcn.00408750
add esp, 4
mov byte [esp + 0x538], 0xe
mov eax, dword [esp + 0xc0]
mov esi, 8
cmp dword [esp + 0xd4], esi
jae 0x437048
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437071
cmp dword [esp + 0xd4], esi
mov eax, dword [esp + 0xc0]
jae 0x43706a
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0xd4], esi
mov ecx, dword [esp + 0xc0]
jae 0x437088
lea ecx, [esp + 0xc0]
cmp dword [esp + 0x80], esi
mov eax, dword [esp + 0x6c]
jae 0x437099
lea eax, [esp + 0x6c]
push ecx
push eax
call fcn.0044065e
add esp, 8
push 0x3e8
sub ebp, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0xd4], esi
jb 0x4370d2
mov eax, dword [esp + 0xc0]
push eax
call fcn.0043ef40
add esp, 4
xor ebx, ebx
test ebp, ebp
jg 0x436fd0
jmp 0x4370e6
cmp ebp, ebx
jg 0x437833
mov eax, dword [esp + 0x88]
mov edi, 8
cmp dword [esp + 0x9c], edi
jae 0x437102
lea eax, [esp + 0x88]
push eax
push 0x464f7c
push 0x400
lea ecx, [esp + 0x138]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xa0]
call fcn.0042a750
mov byte [esp + 0x538], 0xf
mov ebp, 7
lea eax, [esp + 0x12c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437152
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x130]
push edx
lea esi, [esp + 0x54]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa8]
mov byte [esp + 0x540], 0x10
call fcn.00406d90
cmp dword [esp + 0x64], edi
jb 0x4371a1
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb8], edi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x4371c5
lea edx, [esp + 0xa4]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x4371fe
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4371d4
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0xb8], 8
jb 0x437220
mov edx, dword [esp + 0xa4]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x437238
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
mov eax, str.X__W
jne 0x43724d
mov eax, str._rNX__W
push eax
push 0x464fb4
push 0x400
lea eax, [esp + 0x138]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xa0]
call fcn.0042a750
mov byte [esp + 0x538], 0x11
lea eax, [esp + 0x12c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
jmp 0x4372a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4372a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x130]
push ecx
lea esi, [esp + 0x54]
call fcn.00406f20
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0xa8]
mov byte [esp + 0x540], 0x12
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x4372f4
mov eax, dword [esp + 0x50]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb8], esi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x437318
lea edx, [esp + 0xa4]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x437352
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437327
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0xb8], 8
jb 0x437374
mov eax, dword [esp + 0xa4]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x437386
lea eax, [esp + 0x6c]
push eax
push 0x464fe0
push 0x400
lea ecx, [esp + 0x138]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xa0]
call fcn.0042a750
mov byte [esp + 0x538], 0x13
lea eax, [esp + 0x12c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4373d1
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x130]
push edx
lea esi, [esp + 0x54]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa8]
mov byte [esp + 0x540], 0x14
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x437425
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb8], esi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x437449
lea edx, [esp + 0xa4]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x43748a
mov eax, edx
lea esi, [eax + 2]
jmp 0x437460
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437460
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0xb8], 8
jb 0x4374ac
mov edx, dword [esp + 0xa4]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x4374be
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
mov eax, str.X__W
jne 0x4374d3
mov eax, str._rNX__W
push eax
push 0x465010
push 0x400
lea eax, [esp + 0x138]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xa0]
call fcn.0042a750
mov byte [esp + 0x538], 0x15
lea eax, [esp + 0x12c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437520
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x130]
push ecx
lea esi, [esp + 0x54]
call fcn.00406f20
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0xa8]
mov byte [esp + 0x540], 0x16
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x437574
mov eax, dword [esp + 0x50]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb8], esi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x437598
lea edx, [esp + 0xa4]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x4375d2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4375a7
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0xb8], 8
jb 0x4375f4
mov eax, dword [esp + 0xa4]
push eax
call fcn.0043ef40
add esp, 4
lea ecx, [esp + 0x68]
push ecx
mov ebx, str..rename
lea esi, [esp + 0xc0]
call fcn.00408750
add esp, 4
mov byte [esp + 0x538], 0x17
mov eax, dword [esp + 0xc0]
mov ebx, 8
cmp dword [esp + 0xd4], ebx
jae 0x437631
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43765a
cmp dword [esp + 0xd4], ebx
mov eax, dword [esp + 0xc0]
jae 0x437653
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0xd4], ebx
mov ecx, dword [esp + 0xc0]
jae 0x437671
lea ecx, [esp + 0xc0]
cmp dword [esp + 0x80], ebx
mov eax, dword [esp + 0x6c]
jae 0x437682
lea eax, [esp + 0x6c]
push ecx
push eax
call fcn.0044065e
mov esi, dword [esp + 0x74]
add esp, 8
cmp dword [esp + 0x80], ebx
jae 0x43769d
lea esi, [esp + 0x6c]
cmp dword [esp + 0x9c], ebx
mov edi, dword [esp + 0x88]
jae 0x4376b4
lea edi, [esp + 0x88]
push 1
call fcn.00425bf0
add esp, 4
test eax, eax
jne 0x43781d
push str._setup_
push 0x400
lea edx, [esp + 0x134]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.0042a750
mov byte [esp + 0x538], 0x18
xor edi, edi
lea eax, [esp + 0x12c]
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x437720
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x130]
push eax
lea esi, [esp + 0xa8]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov byte [esp + 0x540], 0x19
call fcn.00406d90
cmp dword [esp + 0xb8], ebx
jb 0x437775
mov edx, dword [esp + 0xa4]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x64], ebx
mov esi, dword [esp + 0x50]
jae 0x437783
lea esi, [esp + 0x50]
call fcn.0041a270
mov byte [esp + 0x538], 0x17
cmp dword [esp + 0x64], ebx
jb 0x4377a3
mov eax, dword [esp + 0x50]
push eax
call fcn.0043ef40
add esp, 4
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push edi
add ecx, 0xac
lea eax, [esp + 0x70]
call fcn.00406cc0
lea ecx, [esp + 0x68]
push ecx
mov ebx, str..rename
lea esi, [esp + 0xdc]
call fcn.00408750
mov ecx, dword [esp + 0xe0]
mov eax, 8
add esp, 4
cmp dword [esp + 0xf0], eax
jae 0x4377ee
lea ecx, [esp + 0xdc]
cmp dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
jae 0x4377ff
lea eax, [esp + 0x6c]
push ecx
push eax
call fcn.0044065e
add esp, 8
test eax, eax
lea ecx, [esp + 0xd8]
jne 0x437ad3
call fcn.00406ab0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xb
call fcn.00406ab0
xor ebx, ebx
mov edx, str.size
lea eax, [esp + 0xa0]
call fcn.00406a70
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x53c], 0x1a
call fcn.0042d0e0
mov ebp, 8
mov byte [esp + 0x538], 0xb
cmp dword [esp + 0xb8], ebp
mov esi, eax
jb 0x437885
mov eax, dword [esp + 0xa4]
push eax
call fcn.0043ef40
add esp, 4
mov edi, 7
mov eax, esi
lea ecx, [esp + 0xf4]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.004270b0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x538], 0x1b
call fcn.00426e60
mov ecx, dword [esp + 0x20]
cdq
add dword [ecx], eax
push ebx
push ecx
adc dword [ecx + 4], edx
fild qword [ecx]
fild qword [ecx + 8]
fdivp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul qword [0x466450]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.0040d030
add esp, 8
cmp dword [esp + 0x10c], ebp
jb 0x43790f
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
mov ebp, 8
cmp dword [esp + 0x128], ebp
jb 0x437943
mov edx, dword [esp + 0x114]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x80], ebp
mov esi, 7
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
jb 0x437974
mov eax, dword [esp + 0x6c]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x538], 0xffffffff
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x4379a8
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x9c], esi
jmp 0x437a02
cmp dword [esp + 0x80], ebp
jb 0x4379c7
mov edx, dword [esp + 0x6c]
push edx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x538], 0xffffffff
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x4379fb
mov eax, dword [esp + 0x88]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x9c], edi
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x40]
cmp esi, ebx
mov word [esp + 0x88], bx
mov dword [esp + 0x98], ebx
je 0x437a34
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x437a71
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x437a20
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x4369d6
mov eax, 1
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.0043ef12
add esp, 0x528
ret 0x10
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x437a36
push ebx
push ecx
call fcn.00406bc0
add esp, 4
mov esi, eax
call fcn.0040fdc0
cmp dword [esp + 0x80], ebp
jb 0x437aa3
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x437acc
mov edx, dword [esp + 0x88]
push edx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x437a47
call fcn.00406ab0
lea ecx, [esp + 0xbc]
call fcn.00406ab0
lea ecx, [esp + 0x110]
call fcn.00406ab0
lea ecx, [esp + 0x68]
call fcn.00406ab0
lea ecx, [esp + 0x84]
call fcn.00406ab0
xor eax, eax
jmp 0x437a47