Function at 0x4317c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
call fcn.0041b910
mov dword [ebp - 0x20], 0x579598
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ebp - 0x19], al
add dword [ebp - 0x20], 1
cmp byte [ebp - 0x19], 0
jne 0x4317f0
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
push edx
push 0x579598
lea ecx, [ebp - 0x40]
call fcn.0041a1e0
xor eax, eax
mov dword [ebp - 0xf4], 0x10cdc
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xf0]
xor ecx, 0x1c
xor edx, 0
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], edx
xor eax, eax
mov dword [ebp - 0xfc], 0x1c
mov dword [ebp - 0xf8], eax
mov ecx, dword [0x58bb40]
xor ecx, 0x7204
mov edx, dword [0x58bb44]
xor edx, 0
push 0
push 6
push edx
push ecx
call fcn.00567560
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
xor eax, eax
mov dword [ebp - 0x114], 0x10cc0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x100]
add ecx, dword [ebp - 0x104]
adc edx, eax
add ecx, 1
adc edx, 0
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x110]
sub ecx, dword [ebp - 0x114]
sbb edx, eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], edx
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x124]
mov esi, dword [ebp - 0x120]
push esi
push eax
push edx
push ecx
call fcn.00567440
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 8], ecx
push 0x57b604
lea ecx, [ebp - 0x218]
call fcn.00414fd0
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xf
jae 0x431984
cmp dword [ebp - 0x208], 0
jne 0x431961
mov dword [ebp - 0x54], 1
jmp 0x431968
mov dword [ebp - 0x54], 0
movzx ecx, byte [ebp - 0x54]
test ecx, ecx
jne 0x431984
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x218]
call fcn.00414e70
jmp 0x431991
push 0
lea ecx, [ebp - 0x218]
call fcn.0041bb40
cmp dword [ebp - 0x208], 0
jne 0x4319a3
mov dword [ebp - 0x58], 1
jmp 0x4319aa
mov dword [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x431a0a
push 8
lea ecx, [ebp - 0x218]
call fcn.004ef4d0
mov dword [ebp - 0x24], str.j3l6lrek
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ebp - 0x11], al
add dword [ebp - 0x24], 1
cmp byte [ebp - 0x11], 0
jne 0x4319d2
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
push str.j3l6lrek
lea ecx, [ebp - 0x218]
call fcn.004172e0
lea ecx, [ebp - 0x218]
call fcn.00417140
xor eax, eax
mov byte [ebp - 0x45], al
mov byte [ebp - 0xc], 0x25
mov byte [ebp - 0xb], 0x57
mov byte [ebp - 0xa], 0x47
mov byte [ebp - 9], 0
mov dword [ebp - 0x28], 0
jmp 0x431a3c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 2
jae 0x431a79
lea edx, [ebp - 0xb]
mov dword [ebp - 0x8c], edx
movsx eax, byte [ebp - 0xc]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
xor edx, eax
mov byte [ebp - 0x12], dl
lea eax, [ebp - 0xb]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0x28]
mov dl, byte [ebp - 0x12]
mov byte [ecx], dl
jmp 0x431a33
lea eax, [ebp - 0xb]
mov dword [ebp - 0x94], eax
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x94]
mov byte [edx + ecx], 0
lea eax, [ebp - 0xb]
mov dword [ebp - 0x98], eax
lea ecx, [ebp + 8]
call fcn.00414d00
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0054fa4c
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43228c
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0x5c], eax
xor edx, edx
mov dword [ebp - 0x134], 0x3bb51
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
xor eax, 0x1c
xor ecx, 0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
xor edx, edx
mov dword [ebp - 0x13c], 0x1c
mov dword [ebp - 0x138], edx
mov eax, dword [0x58bb40]
xor eax, 0x7204
mov ecx, dword [0x58bb44]
xor ecx, 0
push 0
push 6
push ecx
push eax
call fcn.00567560
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
xor edx, edx
mov dword [ebp - 0x154], 0x10cc0
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x140]
add eax, dword [ebp - 0x144]
adc ecx, edx
add eax, 1
adc ecx, 0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x150]
sub eax, dword [ebp - 0x154]
sbb ecx, edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x164]
mov esi, dword [ebp - 0x160]
push esi
push edx
push ecx
push eax
call fcn.00567440
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [0x58bb4c]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
add eax, 4
adc edx, 0
push edi
push esi
push edx
push eax
call fcn.00567560
mov ecx, eax
mov esi, edx
mov eax, dword [0x58bb48]
cdq
add eax, 8
adc edx, 0
add eax, ecx
adc edx, esi
add eax, 0x7204
adc edx, 0
push edx
push eax
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.005503ed
add esp, 0x10
mov esi, dword [ebp - 0x5c]
xor edi, edi
mov eax, dword [0x58bb50]
xor eax, 0x7204
mov ecx, dword [0x58bb54]
xor ecx, 0
push 0
push 0x5566ccdd
push ecx
push eax
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov ebx, eax
mov eax, edx
add ebx, 0x573e682c
adc eax, 9
push 0
push 0x7204
mov edx, dword [0x58bb44]
push edx
mov ecx, dword [0x58bb40]
push ecx
mov dword [ebp - 0xa8], eax
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add ebx, eax
mov eax, dword [ebp - 0xa8]
adc eax, edx
add ebx, 0x5566ccdd
adc eax, 0
xor ebx, 0x1c
xor eax, 0
push eax
push ebx
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], edx
mov edx, dword [ebp - 0x174]
cmp edx, dword [ebp - 0x17c]
jne 0x431d87
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x178]
je 0x431daf
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0054fb88
add esp, 4
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x40]
call fcn.00417140
lea ecx, [ebp + 8]
call fcn.00417140
mov al, byte [ebp - 0x13]
jmp 0x432850
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
add ecx, 2
adc ebx, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0xac], eax
mov edx, dword [0x58bb50]
xor edx, 0x7204
mov eax, dword [0x58bb54]
xor eax, 0
push 0
push 0
push eax
push edx
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov esi, eax
mov edi, edx
push 0
push 0x7204
mov ecx, dword [0x58bb44]
push ecx
mov edx, dword [0x58bb40]
push edx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add esi, eax
adc edi, edx
xor esi, 0x1c
xor edi, 0
push edi
push esi
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0054fedb
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0054f92e
add esp, 4
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [ebp - 0x184], 0x10cdc
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x180]
xor edx, 0x1c
xor eax, 0
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x198], eax
xor ecx, ecx
mov dword [ebp - 0x18c], 0x1c
mov dword [ebp - 0x188], ecx
mov edx, dword [0x58bb40]
xor edx, 0x7204
mov eax, dword [0x58bb44]
xor eax, 0
push 0
push 6
push eax
push edx
call fcn.00567560
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], edx
xor ecx, ecx
mov dword [ebp - 0x1a4], 0x10cc0
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x190]
add edx, dword [ebp - 0x194]
adc eax, ecx
add edx, 1
adc eax, 0
mov dword [ebp - 0x1b4], edx
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x1a0]
sub edx, dword [ebp - 0x1a4]
sbb eax, ecx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1b4]
mov esi, dword [ebp - 0x1b0]
push esi
push ecx
push eax
push edx
call fcn.00567440
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0xb4], edx
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0054fedb
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x60]
ja 0x43205b
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0041bb40
jmp 0x43206c
push 0
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x40]
call fcn.0041bba0
xor eax, eax
mov dword [ebp - 0x1c4], 0x3bb51
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x1c0]
xor ecx, 0x1c
xor edx, 0
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d8], edx
xor eax, eax
mov dword [ebp - 0x1cc], 0x1c
mov dword [ebp - 0x1c8], eax
mov ecx, dword [0x58bb40]
xor ecx, 0x7204
mov edx, dword [0x58bb44]
xor edx, 0
push 0
push 6
push edx
push ecx
call fcn.00567560
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], edx
xor eax, eax
mov dword [ebp - 0x1e4], 0x10cc0
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1d0]
add ecx, dword [ebp - 0x1d4]
adc edx, eax
add ecx, 1
adc edx, 0
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], edx
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1e0]
sub ecx, dword [ebp - 0x1e4]
sbb edx, eax
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], edx
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x1f4]
mov esi, dword [ebp - 0x1f0]
push esi
push eax
push edx
push ecx
call fcn.00567440
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], edx
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0xbc], ecx
mov eax, 1
imul esi, eax, 0
lea ecx, [ebp - 0x40]
call fcn.00414d00
add eax, esi
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.005503ed
add esp, 0x10
mov edx, dword fs:[0x2c]
mov eax, dword [edx]
mov ecx, dword [0x591f6c]
cmp ecx, dword [eax + 4]
jle 0x43220a
push 0x591f6c
call fcn.0053f46a
add esp, 4
cmp dword [0x591f6c], 0xffffffff
jne 0x43220a
mov ecx, 0x591f70
call fcn.0041f450
push 0x56b790
call fcn.0053f39a
add esp, 4
push 0x591f6c
call fcn.0053f419
add esp, 4
mov dword [ebp - 0x64], 0x591f70
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
sar ecx, 3
cmp ecx, 0x64
jae 0x432274
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x68], 0x591f70
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
sar ecx, 3
xor ecx, 0x36
mov dword [ebp - 0xc4], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc4]
push eax
movzx ecx, byte [ebp - 0x46]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004fb670
lea edx, [ebp - 0x248]
push edx
mov ecx, 0x591f70
call fcn.004f5a80
jmp 0x43227e
mov ecx, 0x591f70
call fcn.004ee980
mov eax, dword [ebp - 0x10]
push eax
call fcn.0054fb88
add esp, 4
jmp 0x4322a8
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x40]
call fcn.00417140
lea ecx, [ebp + 8]
call fcn.00417140
mov al, byte [ebp - 0x15]
jmp 0x432850
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414e10
mov dword [ebp - 0xc8], eax
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
add ecx, 4
adc ebx, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414e10
mov edx, dword [eax]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004ef5d0
mov ecx, dword [0x58bb50]
xor ecx, 0x7204
mov edx, dword [0x58bb54]
xor edx, 0
push 0
push 4
push edx
push ecx
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov esi, eax
mov edi, edx
add esi, 0x70
adc edi, 0
push 0
push 0x7204
mov eax, dword [0x58bb44]
push eax
mov ecx, dword [0x58bb40]
push ecx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add esi, eax
adc edi, edx
add esi, 4
adc edi, 0
xor esi, 0x1c
xor edi, 0
push edi
push esi
call fcn.0041fbd0
add esp, 8
mov edx, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 8], edx
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 4], eax
jmp 0x432476
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x4325e0
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
test edx, edx
jne 0x4324a9
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0x80
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 0xffffff80
jne 0x4324d1
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0xa
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 0xa
jne 0x4324f9
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 1
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 1
jne 0x432521
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 5
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 5
jne 0x432549
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0xde
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 0xffffffde
jne 0x43256e
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0xfd
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 0xfffffffd
jne 0x432593
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0xff
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 0xffffffff
jne 0x4325b8
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0x55
jmp 0x4325db
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d50
movsx edx, byte [eax]
cmp edx, 0x55
jne 0x4325db
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov byte [eax], 0
jmp 0x43246d
mov eax, dword [0x58bb48]
cdq
mov esi, eax
mov edi, edx
add esi, 8
adc edi, 0
mov eax, dword [0x58bb4c]
cdq
add eax, 0x7204
adc edx, 0
push 0
push 0x7204
push edx
push eax
call fcn.00567560
mov ecx, eax
mov ebx, edx
mov eax, dword [0x58bb4c]
cdq
add eax, 8
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.00567560
add esi, eax
adc edi, edx
add esi, 0x7204
adc edi, 0
push edi
push esi
call fcn.0041fb00
add esp, 8
mov dword [ebp - 0x44], eax
jmp 0x43264a
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 8]
jae 0x432704
mov ecx, dword [0x58bb50]
xor ecx, 0x7204
mov edx, dword [0x58bb54]
xor edx, 0
push 0
push 0x15
push edx
push ecx
call fcn.00567560
push 0
push 5
push edx
push eax
call fcn.00567560
mov esi, eax
mov edi, edx
add esi, 0x24c
adc edi, 0
push 0
push 0x7204
mov eax, dword [0x58bb44]
push eax
mov ecx, dword [0x58bb40]
push ecx
call fcn.00567560
push 0
push 0x1c
push edx
push eax
call fcn.00567440
add esi, eax
adc edi, edx
add esi, 0x15
adc edi, 0
xor esi, 0x1c
xor edi, 0
push edi
push esi
call fcn.0041fbd0
add esp, 8
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x40]
call fcn.00414d50
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax]
mov byte [ebp - 0x16], cl
movsx eax, byte [ebp - 0x16]
cdq
xor eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x6c]
mov byte [edx], al
jmp 0x432641
push 0
push 2
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp + 8]
call fcn.00414d00
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x43275f
mov dword [ebp - 0xe0], 0
push 0
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414d00
push eax
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov eax, dword [0x591f6c]
cmp eax, dword [edx + 4]
jle 0x4327af
push 0x591f6c
call fcn.0053f46a
add esp, 4
cmp dword [0x591f6c], 0xffffffff
jne 0x4327af
mov ecx, 0x591f70
call fcn.0041f450
push 0x56b790
call fcn.0053f39a
add esp, 4
push 0x591f6c
call fcn.0053f419
add esp, 4
mov dword [ebp - 0x70], 0x591f70
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
sar eax, 3
cmp eax, 0x64
jae 0x43282f
mov byte [ebp - 0x17], 1
mov dword [ebp - 0x74], 0x591f70
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
sar eax, 3
xor eax, 0x36
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov al, byte [ebp - 0x17]
mov byte [edx], al
lea ecx, [ebp - 0x224]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
lea ecx, [ebp - 0x228]
push ecx
mov ecx, 0x591f70
call fcn.004f5a80
jmp 0x432839
mov ecx, 0x591f70
call fcn.004ee980
mov byte [ebp - 0x18], 1
lea ecx, [ebp - 0x40]
call fcn.00417140
lea ecx, [ebp + 8]
call fcn.00417140
mov al, byte [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret