Function at 0x434530
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x160
push ebx
mov ebx, dword [esp + 0x168]
push esi
cmp ebx, 0xffffffff
mov dword [esp + 0x4c], 0
mov esi, 1
je 0x434557
mov dword [esp + 0x4c], esi
jmp 0x43457b
lea eax, [esp + 0x16c]
push eax
call fcn.00434350
add esp, 4
test eax, eax
jne 0x434574
pop esi
pop ebx
add esp, 0x160
ret
mov ebx, dword [esp + 0x16c]
push ebp
cmp ebx, 0xffffffff
push edi
mov dword [esp + 0x58], esi
je 0x435827
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, 0x453130
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x453130
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x38]
push 2
push eax
push ebx
mov dword [esp + 0x44], 0xa
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x4f4]
or ecx, 0xffffffff
mov eax, dword [edx + 0x34]
lea edx, [esp + 0x30]
mov edi, dword [eax + 0x80]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x10]
push eax
push ecx
push 2
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov edx, dword [0x453a14]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [edx + 0x4f4]
and ecx, 0xffff
push ecx
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 0x80]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov ecx, dword [0x453a14]
lea eax, [esp + 0x10]
push 0
push eax
add ecx, 0x400
push 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov edx, dword [0x453a14]
push 0
mov eax, dword [edx + 0x18]
lea edx, [esp + 0x14]
push edx
push 2
mov cx, word [eax + 0x1f0]
lea eax, [esp + 0x3c]
push eax
push ebx
mov dword [esp + 0x44], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
push 0x68
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [0x453a14]
mov esi, eax
add esp, 4
mov dl, byte [ecx + 0x26]
mov byte [esi], dl
mov eax, dword [0x453a14]
mov cl, byte [eax + 0x27]
mov byte [esi + 1], cl
mov edx, dword [0x453a14]
mov ax, word [edx + 0x28]
mov word [esi + 2], ax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0xb0]
mov dword [esi + 4], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0xb4]
mov dword [esi + 8], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0xd0]
mov dword [esi + 0xc], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0xd4]
mov dword [esi + 0x10], edx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0xd8]
sub edx, eax
mov dword [esi + 0x14], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x110]
mov dword [esi + 0x18], ecx
mov edx, dword [0x453a14]
mov ax, word [edx + 0x14c]
mov word [esi + 0x1c], ax
mov ecx, dword [0x453a14]
mov dx, word [ecx + 0x18c]
mov word [esi + 0x1e], dx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x190]
mov dword [esi + 0x20], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0x194]
mov dword [esi + 0x24], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x19c]
mov dword [esi + 0x28], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1a0]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0x1b4]
mov dword [esi + 0x30], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1b8]
mov dword [esi + 0x34], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1bc]
mov dword [esi + 0x38], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0x1c0]
mov dword [esi + 0x3c], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c4]
mov dword [esi + 0x40], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x1c8]
mov dword [esi + 0x44], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0x1cc]
mov dword [esi + 0x48], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1d0]
mov dword [esi + 0x4c], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x4d8]
mov dword [esi + 0x50], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0x4dc]
mov dword [esi + 0x54], eax
mov ecx, dword [0x453a14]
push 0
mov edx, dword [ecx + 0x4e0]
mov dword [esi + 0x58], edx
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x504]
mov dword [esi + 0x5c], ecx
mov edx, dword [0x453a14]
mov eax, dword [edx + 0x508]
mov dword [esi + 0x60], eax
mov ecx, dword [0x453a14]
lea eax, [esp + 0x14]
mov edx, dword [ecx + 0x50c]
push eax
push 0x68
push esi
push ebx
mov dword [esi + 0x64], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
push esi
call dword [sym.imp.MSVCRT.dll_free]
push 0x2c
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [0x453a14]
mov esi, eax
add esp, 8
mov edx, dword [ecx + 0x1c]
push 0
mov eax, dword [edx + 0x1c]
mov dword [esi], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x20]
mov dword [esi + 4], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x24]
mov dword [esi + 8], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x28]
mov dword [esi + 0xc], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
mov dword [esi + 0x10], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 4]
mov dword [esi + 0x14], eax
mov ecx, dword [0x453a14]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 8]
mov dword [esi + 0x28], eax
mov ecx, dword [0x453a14]
lea eax, [esi + 0x18]
mov edx, dword [ecx + 0x1c]
add edx, 0x34
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x14]
push eax
push 0x2c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
push esi
call dword [sym.imp.MSVCRT.dll_free]
push 0x1c
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [0x453a14]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
xor edi, edi
mov eax, dword [ecx + 0x1c]
add esp, 8
mov dword [esp + 0x18], edi
cmp dword [eax + 0x2c], edi
jle 0x4349b9
mov eax, dword [eax + 0x30]
push 0
add eax, edi
mov edx, dword [eax + 4]
mov dword [esi], edx
mov ecx, dword [eax + 8]
mov dword [esi + 4], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x14], ecx
mov edx, dword [eax + 0x34]
lea eax, [esp + 0x14]
mov dword [esi + 0x18], edx
push eax
push 0x1c
push esi
push ebx
call ebp
test eax, eax
je 0x4349b9
mov edx, dword [0x453a14]
mov ecx, dword [esp + 0x18]
inc ecx
add edi, 0x54
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax + 0x2c]
jl 0x434960
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x453a14]
add esp, 4
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x18]
push 0
push eax
push 0x10
mov eax, dword [edx + 0x25c]
push eax
push ebx
call ebp
test eax, eax
je 0x435827
mov edx, dword [0x453a14]
lea ecx, [esp + 0x10]
push 0
push ecx
mov eax, dword [edx + 0x18]
push 0x10
mov ecx, dword [eax + 0x258]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov eax, dword [0x453a14]
lea edx, [esp + 0x10]
push 0
push edx
mov ecx, dword [eax + 0x18]
push 4
add ecx, 0x264
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov ecx, dword [0x453a14]
xor ebp, ebp
mov esi, 1
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 0x264]
test edx, edx
jle 0x434a83
xor edi, edi
mov eax, dword [eax + 0x268]
add eax, edi
push eax
push ebx
call fcn.00434290
mov esi, eax
add esp, 8
test esi, esi
je 0x435827
mov ecx, dword [0x453a14]
inc ebp
add edi, 0x10
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 0x264]
jl 0x434a52
mov eax, dword [ecx + 0x18]
lea edx, [esp + 0x10]
push 0
push edx
add eax, 0x278
push 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov eax, dword [0x453a14]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x278]
test edx, edx
jle 0x434b4f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x27c]
mov ebp, dword [eax + ecx*4]
test ebp, ebp
je 0x434aed
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x34]
push 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
je 0x435827
mov eax, dword [esp + 0x2c]
test ax, ax
jle 0x434b32
movsx edx, ax
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
je 0x435827
mov eax, dword [0x453a14]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x18], ecx
cmp ecx, dword [edx + 0x278]
jl 0x434ac2
test esi, esi
je 0x43582c
mov dword [esp + 0x48], 0
call fcn.00424b20
test eax, eax
je 0x434b80
mov esi, 2
cmp word [eax + 2], si
jb 0x434b77
inc dword [esp + 0x48]
call fcn.00424ad0
test eax, eax
jne 0x434b6d
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x50]
push 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov edx, dword [0x453a14]
xor esi, esi
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 0x3c]
mov eax, dword [edx + 0x1278]
test ecx, ecx
jle 0x434be0
cmp dword [eax], 0
jne 0x434bc8
mov ecx, dword [eax + 8]
add eax, 8
test ecx, ecx
je 0x434bbe
mov ecx, dword [eax]
add eax, 8
cmp word [ecx + 0x1a], 0
jne 0x434bd8
dec dword [esp + 0x3c]
mov ecx, dword [edx + 0x3c]
inc esi
cmp esi, ecx
jl 0x434bb9
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x44]
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435827
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x4c
call esi
push 0x5c
mov dword [esp + 0x58], eax
call esi
push 0x74
mov dword [esp + 0x68], eax
call esi
push 0x50
mov dword [esp + 0x48], eax
call esi
push 0x24
mov dword [esp + 0x38], eax
call esi
push 0x50
mov dword [esp + 0x34], eax
call esi
mov ecx, dword [0x453a14]
mov dword [esp + 0x38], eax
xor eax, eax
add esp, 0x18
mov edx, dword [ecx + 0x1278]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0x3c]
cmp edx, eax
mov dword [esp + 0x64], eax
jle 0x435359
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
jne 0x434c72
mov edx, dword [eax + 8]
add eax, 8
test edx, edx
je 0x434c64
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
mov ebp, dword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
cmp word [ebp + 0x1a], di
je 0x435345
mov esi, dword [esp + 0x50]
mov ax, word [ebp]
push edi
mov dword [esp + 0x38], 1
mov word [esi], ax
mov cx, word [ebp + 0x10]
mov word [esi + 2], cx
mov dx, word [ebp + 0x12]
mov word [esi + 4], dx
mov ax, word [ebp + 0x1a]
mov word [esi + 6], ax
mov ecx, dword [ebp + 0x48]
mov dword [esi + 8], ecx
mov edx, dword [ebp + 0x4c]
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 0x54]
mov dword [esi + 0x14], ecx
mov edx, dword [ebp + 0x58]
mov dword [esi + 0x18], edx
mov eax, dword [ebp + 0x5c]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp + 0x60]
mov dword [esi + 0x20], ecx
mov edx, dword [ebp + 0x64]
lea eax, [ebp + 0x68]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x78]
mov dword [esi + 0x38], ecx
mov dx, word [ebp + 0x7c]
mov word [esi + 0x3c], dx
mov eax, dword [ebp + 0x84]
lea edx, [esp + 0x14]
mov dword [esi + 0x40], eax
mov ecx, dword [ebp + 0xb4]
push edx
push 0x4c
push esi
push ebx
mov dword [esi + 0x44], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov dword [esp + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, dword [ebp + 0x2c]
cmp eax, edi
je 0x434d61
cmp dword [eax], edi
je 0x434d56
mov ecx, dword [eax + 4]
add eax, 4
cmp ecx, edi
jne 0x434d4c
sub ax, word [ebp + 0x2c]
add eax, 4
mov dword [esp + 0x44], eax
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x4c]
push 2
push ecx
push ebx
call esi
test eax, eax
je 0x435359
mov eax, dword [esp + 0x44]
cmp ax, di
jbe 0x434da3
lea edx, [esp + 0x10]
push edi
and eax, 0xffff
push edx
push eax
mov eax, dword [ebp + 0x2c]
push eax
push ebx
call esi
test eax, eax
je 0x435359
test dword [ebp + 0x78], 0x230
je 0x434eed
mov esi, dword [esp + 0x5c]
mov ecx, dword [ebp + 0xc8]
mov dword [esi + 4], ecx
mov edx, dword [ebp + 0xcc]
mov dword [esi + 8], edx
mov eax, dword [ebp + 0xd8]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 0xdc]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp + 0xe0]
mov dword [esi + 0x14], edx
mov eax, dword [ebp + 0xe4]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp + 0xe8]
mov dword [esi + 0x1c], ecx
mov edx, dword [ebp + 0xec]
mov dword [esi + 0x20], edx
mov eax, dword [ebp + 0xf0]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 0xf4]
mov dword [esi + 0x28], ecx
mov edx, dword [ebp + 0xf8]
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0x104]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp + 0x108]
mov dword [esi + 0x34], ecx
mov edx, dword [ebp + 0x10c]
mov dword [esi + 0x38], edx
mov eax, dword [ebp + 0x110]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp + 0x114]
mov dword [esi + 0x40], ecx
mov edx, dword [ebp + 0x118]
mov dword [esi + 0x44], edx
mov eax, dword [ebp + 0x11c]
mov dword [esi + 0x48], eax
mov ecx, dword [ebp + 0x120]
mov dword [esi + 0x4c], ecx
mov edx, dword [ebp + 0x120]
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov eax, dword [ebp + 0x128]
cmp eax, edi
je 0x434e84
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
inc eax
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x12c]
cmp eax, edi
je 0x434e9a
mov eax, dword [eax]
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
inc eax
mov dword [esi + 0x58], eax
mov word [esi], di
mov eax, dword [ebp + 0xc0]
cmp eax, 0x4226a0
jne 0x434eaf
mov word [esi], 1
mov word [esi + 2], di
mov eax, dword [ebp + 0xc4]
cmp eax, 0x422580
jne 0x434ec8
mov word [esi + 2], 1
jmp 0x434ed5
cmp eax, 0x4226a0
jne 0x434ed5
mov word [esi + 2], 2
lea eax, [esp + 0x10]
push edi
push eax
push 0x5c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
test byte [ebp + 0x78], 0x10
je 0x434ffd
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x130]
lea esi, [ebp + 0x17e]
mov dword [eax], ecx
mov edx, dword [ebp + 0x134]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x140]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x14c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0x150]
mov dword [eax + 0x10], ecx
mov dx, word [ebp + 0x154]
mov word [eax + 0x14], dx
mov ecx, dword [ebp + 0x172]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 0x176]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 0x17a]
lea edx, [eax + 0x24]
mov dword [eax + 0x20], ecx
mov ecx, 0x14
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xcc]
cmp ecx, 5
je 0x434fa8
cmp ecx, 9
je 0x434f8c
cmp ecx, 0xd
jne 0x434fb9
mov ecx, dword [edx]
mov dword [eax + 0x20], 0xffffffff
test ecx, ecx
je 0x434fb9
mov edx, dword [eax + 0x28]
movsx ecx, word [edx]
mov dword [eax + 0x28], ecx
jmp 0x434fb9
mov ecx, dword [ebp + 0x1b2]
test ecx, ecx
je 0x434f9f
movsx edx, word [ecx]
inc edx
mov dword [eax + 0x58], edx
jmp 0x434fb9
mov dword [eax + 0x58], 0
jmp 0x434fb9
mov ecx, dword [ebp + 0x1a2]
mov edx, dword [ebp + 0x1aa]
sub ecx, edx
mov dword [eax + 0x48], ecx
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push 0
push edx
push 0x74
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
cmp dword [ebp + 0xcc], 0xe
jne 0x434ffd
mov ecx, dword [ebp + 0xd0]
test ecx, ecx
je 0x434ffd
mov edx, dword [ecx]
push ebx
push 0x1010
push ebp
call dword [edx + 0x54]
test eax, eax
je 0x435359
test byte [ebp + 0x78], 0x20
je 0x43506d
mov eax, dword [ebp + 0xb8]
mov edx, dword [esp + 0x24]
add eax, ebp
mov ecx, 0x14
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x14]
mov esi, dword [ebp + 0x44]
test ecx, ecx
je 0x435033
xor edi, edi
mov di, word [esi + 6]
sub ecx, edi
sub ecx, esi
mov dword [edx + 0x14], ecx
jmp 0x43503a
mov dword [edx + 0x14], 0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x435049
sub ecx, dword [eax + 0x14]
mov dword [edx + 0x20], ecx
jmp 0x435050
mov dword [edx + 0x20], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push 0
push eax
push 0x50
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov eax, dword [ebp + 0x78]
test ah, 2
je 0x4350a3
mov esi, dword [ebp + 0xbc]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push 0
push edx
add esi, ebp
mov ecx, 9
mov edi, eax
push 0x24
push eax
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov eax, dword [ebp + 0x78]
test ah, 1
je 0x435192
mov eax, dword [ebp + 0x80]
add eax, ebp
xor edi, edi
mov dword [esp + 0x60], eax
mov esi, dword [eax]
push esi
push ebx
call fcn.00434290
add esp, 8
test eax, eax
je 0x435359
inc edi
add esi, 0x10
cmp edi, 0x1a
jl 0x4350bf
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], 0
add eax, 0x86
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], 0
mov esi, dword [ecx]
test esi, esi
je 0x435110
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x48]
push 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov ecx, dword [esp + 0x40]
test cx, cx
jle 0x435151
movsx eax, cx
lea edx, [esp + 0x10]
push 0
push edx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
inc ecx
add esi, 4
cmp ecx, 0xa
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], esi
jl 0x4350ef
test eax, eax
je 0x435359
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x10]
push 0
push ecx
add edx, 0x68
push 4
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov ax, word [ebp + 0x18]
cmp ax, 3
je 0x4351be
cmp ax, 4
je 0x4351be
cmp ax, 5
je 0x4351be
cmp ax, 6
je 0x4351be
cmp ax, 7
je 0x4351be
cmp ax, 9
jne 0x43528c
mov eax, dword [esp + 0x20]
mov ecx, 0x14
lea esi, [ebp + 0x1f2]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
cmp word [ebp + 0x18], 9
jne 0x4351df
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push 0
push eax
push 0x50
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov ax, word [ebp + 0x18]
cmp ax, 3
jne 0x435274
mov edi, dword [ebp + 0x22e]
mov dword [esp + 0x18], 0
test edi, edi
push 0
je 0x43525f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 2
not ecx
push eax
push ebx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
movsx edx, word [esp + 0x18]
mov eax, dword [ebp + 0x22e]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x435284
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push 2
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x435284
cmp ax, 9
jne 0x43528c
push ebx
push ebp
call fcn.00441780
add esp, 8
test eax, eax
je 0x435359
cmp word [ebp + 0x18], 8
jne 0x4352a2
push ebx
push ebp
call fcn.00438770
test eax, eax
je 0x435359
mov ax, word [ebp + 0x18]
cmp ax, 0x20
jl 0x435337
movsx eax, ax
push 0
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*8]
mov eax, dword [0x453a0c]
mov ecx, dword [eax + 0xe0]
lea eax, [esp + 0x14]
push eax
push 4
mov edx, dword [ecx + edx*2 - 0x11b4]
lea ecx, [esp + 0x74]
push ecx
push ebx
mov dword [esp + 0x7c], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
movsx eax, word [ebp + 0x18]
mov ecx, dword [0x453a14]
push 0
lea edx, [eax + eax*8]
lea eax, [eax + edx*8]
mov edx, dword [ecx + 0x1d4]
lea ecx, [esp + 0x14]
mov esi, dword [edx + eax*2 - 0x11dc]
push ecx
test esi, esi
lea edx, [esp + 0x33]
push 1
setne al
push edx
push ebx
mov byte [esp + 0x3f], al
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435359
mov al, byte [esp + 0x2b]
test al, al
je 0x435337
push ebx
push ebp
call esi
test eax, eax
je 0x435359
mov ecx, dword [0x453a14]
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x64]
mov edx, dword [ecx + 0x3c]
inc eax
cmp eax, edx
mov dword [esp + 0x64], eax
jl 0x434c5b
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
mov ecx, dword [esp + 0x60]
push ecx
call esi
mov edx, dword [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x30]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0x34]
push edx
call esi
mov eax, dword [esp + 0x4c]
add esp, 0x18
test eax, eax
jne 0x435827
mov eax, dword [0x453a14]
mov ecx, dword [eax + 0x3c]
add ecx, ecx
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [esp + 0x28], eax
mov eax, dword [0x453a14]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 4
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], 0
mov ecx, dword [edx + 0x2c]
test ecx, ecx
jle 0x435475
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edi, dword [esp + 0x24]
push 0
push ecx
push edx
call fcn.0044c6e6
mov esi, eax
test esi, esi
je 0x43541e
mov eax, dword [0x453a14]
push esi
mov ecx, dword [eax]
push ecx
call fcn.0044ba86
cmp word [eax + 0x1a], 0
je 0x435408
mov dx, word [eax]
mov word [edi], dx
add edi, 2
mov eax, dword [0x453a14]
push 2
push esi
mov ecx, dword [eax]
push ecx
call fcn.0044c6d4
mov esi, eax
test esi, esi
jne 0x4353ea
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x24]
push 4
sub edi, esi
push eax
push ebx
mov dword [esp + 0x30], edi
call ebp
test eax, eax
je 0x43546d
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push esi
push ebx
call ebp
test eax, eax
je 0x43546d
mov eax, dword [0x453a14]
mov ecx, dword [esp + 0x20]
inc ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edx + 0x2c]
jl 0x4353d1
jmp 0x435475
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
jne 0x435827
mov esi, dword [0x453a14]
mov ecx, dword [esi + 0x58]
mov eax, ecx
cmp word [eax], 0xffff
je 0x4354a9
add eax, 0x76
cmp word [eax], 0xffff
jne 0x4354a0
sub eax, ecx
mov ecx, eax
mov eax, 0x22b63cbf
imul ecx
mov eax, dword [esi + 0x3c]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
add eax, edx
lea ecx, [eax + eax + 2]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [0x453a14]
add esp, 4
mov esi, eax
mov edx, dword [edx + 0x58]
mov ecx, esi
cmp word [edx], 0xffff
je 0x43552f
mov ax, word [edx + 6]
test ax, ax
jl 0x43551e
mov word [ecx], ax
mov edi, dword [0x453a14]
and eax, 0xffff
add ecx, 2
mov edi, dword [edi + 0x1278]
mov eax, dword [edi + eax*8]
test eax, eax
je 0x43551e
cmp word [eax + 0x1a], 0
jne 0x435515
sub ecx, 2
mov ax, word [eax + 0x16]
test ax, ax
jge 0x4354ed
add edx, 0x76
mov word [ecx], 0xffff
add ecx, 2
cmp word [edx], 0xffff
jne 0x4354e4
sub ecx, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push ebx
call ebp
test eax, eax
je 0x435827
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x43556a
lea edx, [esp + 0x10]
push 0
push edx
push eax
push esi
push ebx
call ebp
test eax, eax
je 0x435827
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [0x453a0c]
add esp, 4
lea edx, [esp + 0x10]
mov esi, dword [eax + 0x284]
push 0
lea eax, [esp + 0x18]
push edx
push 4
push eax
test esi, esi
mov dword [esp + 0x2c], esi
push ebx
je 0x4356d0
mov ecx, dword [esi]
mov dword [esp + 0x28], ecx
call ebp
test eax, eax
je 0x435827
mov eax, dword [esi]
mov dword [esp + 0x24], 0
test eax, eax
jle 0x4356e2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + ecx*4 + 8]
test esi, esi
je 0x4356b7
lea edi, [esi + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
mov eax, dword [esi]
push 0
imul eax, dword [esi + 4]
not ecx
dec ecx
push edx
push 4
lea ecx, [ecx + eax + 0xd]
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x28], ecx
call ebp
test eax, eax
je 0x435827
mov eax, dword [esp + 0x14]
test eax, eax
je 0x435620
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push esi
push ebx
call ebp
test eax, eax
je 0x435827
cmp dword [esi + 4], 0xc
jne 0x4356b7
mov eax, dword [esi]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x4356b7
mov edx, dword [esi + 4]
lea edi, [esi + 8]
imul edx, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
add eax, ecx
push 0
mov edi, dword [edx + eax + 9]
lea eax, [edx + eax + 9]
lea edx, [esp + 0x14]
push edx
push 4
test edi, edi
je 0x435690
mov ecx, dword [eax + 4]
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x28], ecx
call ebp
test eax, eax
je 0x435827
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4356a8
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push edi
jmp 0x43569d
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push ebx
call ebp
test eax, eax
je 0x435827
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x435638
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
cmp eax, edx
jl 0x4355bc
jmp 0x4356e2
mov dword [esp + 0x28], 0
call ebp
test eax, eax
je 0x435827
mov ecx, dword [0x453a10]
mov edx, dword [ecx + 0x80]
mov eax, edx
mov cx, word [eax]
test cx, cx
je 0x435705
movsx ecx, cx
sub eax, ecx
mov cx, word [eax]
test cx, cx
jne 0x4356f8
sub eax, edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
push 0
push edx
lea eax, [esp + 0x1c]
push 4
push eax
push ebx
call ebp
test eax, eax
je 0x435827
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x435806
mov ecx, dword [0x453a10]
mov edi, dword [ecx + 0x80]
cmp word [edi], 0
je 0x435806
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [edi + 4]
push 2
push eax
push ebx
call ebp
test eax, eax
je 0x435827
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [edi + 6]
push 2
push edx
push ebx
call ebp
test eax, eax
je 0x435827
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [edi + 8]
push 2
push ecx
push ebx
call ebp
test eax, eax
je 0x435827
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [edi + 0xa]
push 2
push eax
push ebx
call ebp
test eax, eax
je 0x435827
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 3]
mov cl, byte [edi + 2]
add eax, ecx
lea esi, [edi + 0xe]
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x4357f7
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esi + 0xa]
push 1
push eax
push ebx
call ebp
test eax, eax
je 0x435827
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esi + 0xb]
push 1
push edx
push ebx
call ebp
test eax, eax
je 0x435827
movsx eax, word [esi]
add esi, eax
mov eax, dword [esp + 0x1c]
dec eax
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x4357bd
movsx ecx, word [edi]
sub edi, ecx
cmp word [edi], 0
jne 0x435746
xor esi, esi
lea edx, [esp + 0x10]
push esi
push edx
lea eax, [esp + 0x74]
push 4
push eax
push ebx
mov dword [esp + 0x80], esi
call ebp
test eax, eax
je 0x435827
mov dword [esp + 0x58], esi
mov eax, dword [0x453a14]
mov ecx, dword [esp + 0x54]
pop edi
test ecx, ecx
pop ebp
jne 0x435847
cmp ebx, 0xffffffff
je 0x435847
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x453a14]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4358a1
mov edx, dword [0x4539d8]
lea ecx, [esp + 0x68]
push 0x100
push ecx
push 0x8c
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x453a14]
push 0x30
mov ecx, dword [eax + 0x4f4]
mov eax, dword [eax + 0xc]
mov edx, dword [ecx + 0x34]
mov ecx, dword [edx + 0x80]
lea edx, [esp + 0x6c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x160
ret
mov ecx, dword [eax + 0xd0]
mov dword [eax + 0x43c], ecx
xor eax, eax
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x160
ret