Function at 0x4a4572
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5153d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor cl, cl
push edi
mov byte [ebp - 0xd], cl
call fcn.004a3bd0
mov ebx, dword [0x7732a8]
mov ecx, dword [0x7732a4]
cdq
sub eax, edx
imul edx, dword [ebx], 0x3a0
imul esi, dword [ebx + 4], 0x2f1
mov ecx, dword [ecx + 4]
sar eax, 1
sub eax, 0x73
mov dword [ebp - 0x20], eax
add esi, dword [edx + ecx + 0x39c]
cmp dword [0x7cc7fc], 0
mov dword [ebp - 0x24], esi
lea eax, [esi + 0x2e1]
mov dword [ebp - 0x1c], eax
jne 0x4a4218
imul ebx, dword [ebx + 0xc], 0x81
xor ecx, ecx
mov eax, dword [eax]
mov edx, 0x14
add ebx, dword [esi + 0x2e5]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor edi, edi
mov dword [0x7d1200], eax
add esp, 4
cmp dword [esi + 0x2e1], edi
jle 0x4a3e3b
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov esi, dword [esi + 0x2e5]
add esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 8]
jne 0x4a3e1e
push dword [esi + 4]
mov eax, dword [0x7d1200]
push dword [esi]
add eax, ecx
push str._dx_d
push eax
call fcn.004216a0
mov eax, dword [esi]
add esp, 0x10
cmp eax, dword [ebx]
jne 0x4a3e1e
mov eax, dword [esi + 4]
cmp eax, dword [ebx + 4]
jne 0x4a3e1e
mov dword [0x7d1204], edi
mov ecx, dword [ebp - 0x1c]
inc edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], 0x14
add eax, 0x81
mov esi, dword [ebp - 0x24]
cmp edi, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jl 0x4a3de0
push 0x50f38c
push 0
mov edx, 0xffffffb8
xor ecx, ecx
call fcn.00475e60
mov esi, dword [0x6e6b68]
mov edi, eax
mov edx, 0xffffffba
mov dword [0x7cc814], edi
xor ecx, ecx
push dword [esi + 0x54]
push 0
call fcn.00475e60
push dword [esi + 0x58]
mov ebx, dword [ebp - 0x20]
mov edx, 0xffffffd3
push 0
mov ecx, ebx
mov dword [0x7cc818], eax
call fcn.00475e60
push dword [esi + 0x5c]
mov edx, 0xffffffe7
mov dword [0x7cc810], eax
push 0
mov ecx, ebx
call fcn.00475e60
push dword [esi + 0x60]
mov edx, 0xfffffffb
mov dword [0x7cc80c], eax
push 0
mov ecx, ebx
call fcn.00475e60
push dword [esi + 0x64]
mov edx, 0xf
mov dword [0x7cc808], eax
push 0
mov ecx, ebx
call fcn.00475e60
push dword [esi + 0x6c]
mov edx, 0x23
mov dword [0x7cc804], eax
push 0
mov ecx, ebx
call fcn.00475e60
mov ecx, dword [edi + 0x2e]
add esp, 0x38
mov dword [0x7cc7fc], eax
call fcn.004a74b0
mov ecx, dword [edi + 0x32]
call fcn.004a74b0
or dword [edi], 0x200
xor eax, eax
mov dword [edi + 0x28], eax
mov eax, 0x30
mov word [edi + 0x2c], ax
xor eax, eax
mov word [edi + 0x18], ax
mov word [edi + 6], ax
mov eax, dword [0x7cc814]
mov dword [edi + 0x24], 0x8200f0
mov dword [edi + 0x1a], 0x5167d8
test eax, eax
je 0x4a3f55
or dword [eax], 0x400
mov ecx, 0xf
mov word [eax + 0x1e], cx
xor ecx, ecx
mov dword [eax + 0x20], 0x5167b0
mov word [eax + 8], cx
test eax, eax
je 0x4a3f55
or dword [eax], 0x10
test eax, eax
je 0x4a3f55
or dword [eax], 0x20
mov esi, dword [0x7cc818]
mov ecx, dword [esi + 0x2e]
call fcn.004a74b0
mov ecx, dword [esi + 0x32]
call fcn.004a74b0
or dword [esi], 0x200
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, 0x30
mov word [esi + 0x2c], ax
xor eax, eax
mov word [esi + 0x18], ax
mov word [esi + 6], ax
mov eax, dword [0x7cc818]
mov dword [esi + 0x24], 0xec
mov dword [esi + 0x1a], 0x516840
test eax, eax
je 0x4a3fca
or dword [eax], 0x400
mov ecx, 4
mov word [eax + 0x1e], cx
xor ecx, ecx
mov dword [eax + 0x20], 0x516818
mov word [eax + 8], cx
test eax, eax
je 0x4a3fca
or dword [eax], 0x10
test eax, eax
je 0x4a3fca
or dword [eax], 0x20
mov eax, dword [0x7cc810]
test eax, eax
je 0x4a3fd6
or dword [eax], 0x20
mov eax, dword [0x7cc80c]
test eax, eax
je 0x4a3fe2
or dword [eax], 0x20
mov eax, dword [0x7cc808]
test eax, eax
je 0x4a3fee
or dword [eax], 0x20
mov eax, dword [0x7cc804]
test eax, eax
je 0x4a3ffa
or dword [eax], 0x20
mov eax, dword [0x7cc7fc]
test eax, eax
je 0x4a4006
or dword [eax], 0x20
mov eax, dword [0x7d1204]
lea esi, [ebx + 0x82]
mov edx, 0xffffffd3
lea ecx, [eax + eax*4]
mov eax, dword [0x7d1200]
lea eax, [eax + ecx*4]
mov ecx, esi
push eax
push 0
call fcn.00475e60
mov edi, dword [0x6e6b68]
add esp, 8
mov dword [0x7cc82c], eax
mov edx, 0xffffffe7
mov eax, dword [0x7732a8]
mov ecx, esi
cmp dword [eax + 0x14], 0
je 0x4a4050
push dword [edi + 0x44]
jmp 0x4a4053
push dword [edi + 0x40]
push 0
call fcn.00475e60
add esp, 8
mov dword [0x7cc828], eax
cmp dword [0x773311], 2
mov edx, 0xfffffffb
mov ecx, esi
jne 0x4a4077
push dword [edi + 0x44]
jmp 0x4a407a
push dword [edi + 0x40]
push 0
call fcn.00475e60
add esp, 8
mov dword [0x7cc824], eax
cmp byte [0x773310], 0
mov edx, 0xf
mov ecx, esi
je 0x4a409e
push dword [edi + 0x44]
jmp 0x4a40a1
push dword [edi + 0x40]
push 0
call fcn.00475e60
movss xmm0, dword [0x5167d4]
add esp, 8
mov dword [0x7cc820], eax
call fcn.004b5e00
push eax
lea eax, [ebp - 0xc]
push 0x50f470
push eax
call fcn.004216a0
add esp, 0xc
lea eax, [ebp - 0xc]
mov edx, 0x23
mov ecx, esi
push eax
push 0
call fcn.00475e60
mov ecx, eax
add esp, 8
mov eax, dword [0x7cc82c]
mov dword [0x7cc81c], ecx
test eax, eax
je 0x4a40f8
or dword [eax], 0x20
mov eax, dword [0x7cc828]
test eax, eax
je 0x4a4104
or dword [eax], 0x20
mov eax, dword [0x7cc824]
test eax, eax
je 0x4a4110
or dword [eax], 0x20
mov eax, dword [0x7cc820]
test eax, eax
je 0x4a411c
or dword [eax], 0x20
test ecx, ecx
je 0x4a4123
or dword [ecx], 0x20
cmp byte [0x77332f], 0
mov dword [0x7d1208], 0x1010101
mov byte [0x7d120c], 1
je 0x4a4184
mov eax, dword [0x6e6b68]
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4a4173
test ecx, ecx
je 0x4a4173
test byte [ecx], 1
je 0x4a4173
mov eax, dword [ecx + 0x38]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [eax + 0x30], xmm0
mov byte [0x7d1208], 0
mov dword [0x5167d4], 0x40200000
mov eax, dword [0x517504]
mov edi, dword [eax*4 + 0x7cc81c]
mov ecx, edi
call fcn.00475d50
mov ecx, dword [edi + 0x2e]
movzx esi, ax
call fcn.004a74b0
mov ecx, dword [edi + 0x32]
call fcn.004a74b0
or dword [edi], 0x200
xor eax, eax
mov dword [edi + 0x26], eax
mov word [edi + 0x18], ax
mov eax, 1
mov word [edi + 6], ax
mov eax, dword [0x517504]
mov word [edi + 0x24], si
mov dword [edi + 0x2a], 0x300000
mov dword [edi + 0x1a], 0x516770
mov eax, dword [eax*4 + 0x7cc81c]
test eax, eax
je 0x4a4200
or dword [eax], 0x400
mov ecx, 4
mov word [eax + 0x1e], cx
xor ecx, ecx
mov dword [eax + 0x20], 0x51674c
mov word [eax + 8], cx
push dword [0x7d1200]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [0x7732a8]
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x517504]
mov esi, dword [0x7d1204]
mov edx, dword [0x6e7040]
cmp ecx, 4
jne 0x4a4486
mov edi, esi
test cl, dl
je 0x4a4244
mov eax, edi
test edi, edi
jle 0x4a4263
lea esi, [edi - 1]
jmp 0x4a425b
test dl, 8
je 0x4a4486
mov eax, dword [eax]
dec eax
cmp edi, eax
jge 0x4a4486
lea esi, [edi + 1]
mov eax, esi
mov dword [0x7d1204], esi
cmp edi, eax
je 0x4a4486
push 0
mov edx, edi
call fcn.0049a1e0
add esp, 4
test al, al
jne 0x4a4285
mov esi, edi
mov dword [0x7d1204], esi
jmp 0x4a428b
mov esi, dword [0x7d1204]
mov ecx, dword [0x7cc7fc]
test ecx, ecx
je 0x4a42b0
mov eax, dword [ecx]
test al, 1
je 0x4a42b0
and eax, 0xfffffffe
mov dword [ecx], eax
mov ax, word [0x7b7b9c]
dec ax
mov word [0x7b7b9c], ax
jmp 0x4a42b6
mov ax, word [0x7b7b9c]
mov edx, dword [0x7cc800]
mov dword [0x7cc7fc], 0
test edx, edx
je 0x4a42de
mov ecx, dword [edx]
test cl, 1
je 0x4a42de
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc804]
mov dword [0x7cc800], 0
test edx, edx
je 0x4a4306
mov ecx, dword [edx]
test cl, 1
je 0x4a4306
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc808]
mov dword [0x7cc804], 0
test edx, edx
je 0x4a432e
mov ecx, dword [edx]
test cl, 1
je 0x4a432e
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc80c]
mov dword [0x7cc808], 0
test edx, edx
je 0x4a4356
mov ecx, dword [edx]
test cl, 1
je 0x4a4356
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc810]
mov dword [0x7cc80c], 0
test edx, edx
je 0x4a437e
mov ecx, dword [edx]
test cl, 1
je 0x4a437e
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc814]
mov dword [0x7cc810], 0
test edx, edx
je 0x4a43a6
mov ecx, dword [edx]
test cl, 1
je 0x4a43a6
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc818]
mov dword [0x7cc814], 0
test edx, edx
je 0x4a43ce
mov ecx, dword [edx]
test cl, 1
je 0x4a43ce
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc81c]
mov dword [0x7cc818], 0
test ecx, ecx
je 0x4a43f6
mov edx, dword [ecx]
test dl, 1
je 0x4a43f6
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc820]
test ecx, ecx
je 0x4a4414
mov edx, dword [ecx]
test dl, 1
je 0x4a4414
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc824]
test ecx, ecx
je 0x4a4432
mov edx, dword [ecx]
test dl, 1
je 0x4a4432
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc828]
test ecx, ecx
je 0x4a4450
mov edx, dword [ecx]
test dl, 1
je 0x4a4450
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc82c]
test ecx, ecx
je 0x4a446e
mov edx, dword [ecx]
test dl, 1
je 0x4a446e
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ebx, dword [0x7732a8]
mov ecx, dword [0x517504]
mov edx, dword [0x6e7040]
mov byte [ebp - 0xd], 1
jmp 0x4a448c
mov ax, word [0x7b7b9c]
test dl, 0xc
je 0x4a47e5
cmp ecx, 3
ja case.default.0x4a449e
jmp dword [ecx*4 + 0x4a4bec]
movss xmm1, dword [0x51077c]
movss xmm0, dword [0x5167d4]
test dl, 8
je 0x4a44c6
addss xmm0, xmm1
movss dword [0x5167d4], xmm0
test dl, 4
je 0x4a44d7
subss xmm0, xmm1
movss dword [0x5167d4], xmm0
comiss xmm0, dword [0x5107dc]
jbe 0x4a44ec
mov dword [0x5167d4], 0x41200000
jmp 0x4a44fb
comiss xmm1, xmm0
jbe 0x4a44fb
mov dword [0x5167d4], 0x3f800000
call fcn.004a11b0
mov ecx, dword [0x7cc81c]
test ecx, ecx
je 0x4a451c
mov eax, dword [ecx]
test al, 1
je 0x4a451c
and eax, 0xfffffffe
dec word [0x7b7b9c]
mov dword [ecx], eax
movss xmm0, dword [0x5167d4]
call fcn.004b5e00
push eax
lea eax, [ebp - 0xc]
push 0x50f470
push eax
call fcn.004216a0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
add esp, 0xc
add ecx, 0x82
mov edx, 0x23
push eax
push 0
call fcn.00475e60
mov ecx, dword [0x517504]
add esp, 8
mov dword [0x7cc81c], eax
test eax, eax
je case.default.0x4a449e
or dword [eax], 0x20
jmp case.default.0x4a449e
cmp byte [0x773310], 0
mov eax, dword [0x6e6b68]
je 0x4a45c4
mov edx, dword [eax + 0x40]
mov eax, dword [ecx*4 + 0x7cc81c]
test edx, edx
je 0x4a45b8
test eax, eax
je 0x4a45b8
test byte [eax], 1
je 0x4a45b8
mov eax, dword [eax + 0x38]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [eax + 0x30], xmm0
mov byte [0x773310], 0
jmp 0x4a4753
mov edx, dword [eax + 0x44]
mov eax, dword [ecx*4 + 0x7cc81c]
test edx, edx
je 0x4a45fc
test eax, eax
je 0x4a45fc
test byte [eax], 1
je 0x4a45fc
mov eax, dword [eax + 0x38]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [eax + 0x30], xmm0
mov byte [0x773310], 1
jmp 0x4a4753
cmp dword [0x773311], 2
mov eax, dword [0x6e6b68]
jne 0x4a4625
mov edx, dword [eax + 0x40]
mov dword [0x773311], 1
jmp 0x4a4632
mov edx, dword [eax + 0x44]
mov dword [0x773311], 2
mov eax, dword [ecx*4 + 0x7cc81c]
test edx, edx
je 0x4a4753
test eax, eax
je 0x4a4753
test byte [eax], 1
je 0x4a4753
mov eax, dword [eax + 0x38]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [eax + 0x30], xmm0
jmp 0x4a4753
cmp dword [0x7732c0], 0
mov edx, esi
je 0x4a46e4
push 0
mov dword [ebx + 0x14], 0
call fcn.0049a1e0
mov eax, dword [0x6e6b68]
add esp, 4
mov ecx, dword [eax + 0x40]
mov eax, dword [0x517504]
mov eax, dword [eax*4 + 0x7cc81c]
test ecx, ecx
je 0x4a4749
test eax, eax
je 0x4a4749
test byte [eax], 1
je 0x4a4749
mov eax, dword [eax + 0x38]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax + 0x30], xmm0
jmp 0x4a4749
push 1
mov dword [ebx + 0x14], 1
call fcn.0049a1e0
add esp, 4
test al, al
je 0x4a473d
mov eax, dword [0x6e6b68]
mov ecx, dword [eax + 0x44]
mov eax, dword [0x517504]
mov eax, dword [eax*4 + 0x7cc81c]
test ecx, ecx
je 0x4a4753
test eax, eax
je 0x4a4753
test byte [eax], 1
je 0x4a4753
mov eax, dword [eax + 0x38]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax + 0x30], xmm0
jmp 0x4a4753
mov eax, dword [0x7732a8]
mov dword [eax + 0x14], 0
mov dword [0x7732c0], 0
call fcn.004a11b0
mov ecx, dword [0x517504]
mov edi, dword [ecx*4 + 0x7cc81c]
mov bl, 1
test edi, edi
je 0x4a478d
and dword [edi], 0xfffff9ff
mov eax, 4
or dword [edi], 0x400
mov word [edi + 0x1e], ax
xor eax, eax
mov dword [edi + 0x20], 0x51674c
mov word [edi + 8], ax
mov ecx, edi
call fcn.00475d50
mov ecx, dword [edi + 0x2e]
movzx esi, ax
call fcn.004a74b0
mov ecx, dword [edi + 0x32]
call fcn.004a74b0
or dword [edi], 0x200
xor eax, eax
mov ecx, dword [0x517504]
mov edx, dword [0x6e7040]
mov dword [edi + 0x26], eax
mov word [edi + 0x18], ax
mov eax, 1
mov word [edi + 6], ax
mov ax, word [0x7b7b9c]
mov word [edi + 0x24], si
mov dword [edi + 0x2a], 0x300000
mov dword [edi + 0x1a], 0x516770
jmp 0x4a47e8
mov bl, byte [ebp - 0xd]
test dl, 2
je 0x4a48d9
test ecx, ecx
jle 0x4a48d9
mov eax, dword [ecx*4 + 0x7cc81c]
test eax, eax
je 0x4a480a
and dword [eax], 0xfffff9ff
lea eax, [ecx - 1]
cmp byte [eax + 0x7d1208], 0
mov dword [0x517504], eax
jne 0x4a485c
nop dword [eax + eax]
dec eax
mov dword [0x517504], eax
test eax, eax
jle 0x4a4835
cmp byte [eax + 0x7d1208], 0
je 0x4a4820
jmp 0x4a485c
cmp byte [eax + 0x7d1208], 0
jne 0x4a485c
mov ecx, eax
mov edx, eax
cmp ecx, 4
jg 0x4a485c
lea eax, [edx + 1]
cmp byte [eax + 0x7d1208], 0
mov ecx, eax
mov dword [0x517504], eax
mov edx, eax
je 0x4a4842
mov edi, dword [eax*4 + 0x7cc81c]
test edi, edi
je 0x4a4883
or dword [edi], 0x400
mov eax, 4
mov word [edi + 0x1e], ax
xor eax, eax
mov dword [edi + 0x20], 0x51674c
mov word [edi + 8], ax
mov ecx, edi
call fcn.00475d50
mov ecx, dword [edi + 0x2e]
movzx esi, ax
call fcn.004a74b0
mov ecx, dword [edi + 0x32]
call fcn.004a74b0
or dword [edi], 0x200
xor eax, eax
mov ecx, dword [0x517504]
mov edx, dword [0x6e7040]
mov dword [edi + 0x26], eax
mov word [edi + 0x18], ax
mov eax, 1
mov word [edi + 6], ax
mov ax, word [0x7b7b9c]
mov word [edi + 0x24], si
mov dword [edi + 0x2a], 0x300000
mov dword [edi + 0x1a], 0x516770
test dl, 1
je 0x4a49a2
cmp ecx, 3
jg 0x4a49a2
mov eax, dword [ecx*4 + 0x7cc81c]
test eax, eax
je 0x4a48fc
and dword [eax], 0xfffff9ff
lea eax, [ecx + 1]
cmp byte [eax + 0x7d1208], 0
mov dword [0x517504], eax
jne 0x4a492b
mov ecx, eax
mov edx, eax
cmp ecx, 4
jg 0x4a492b
lea eax, [edx + 1]
cmp byte [eax + 0x7d1208], 0
mov ecx, eax
mov dword [0x517504], eax
mov edx, eax
je 0x4a4911
mov edi, dword [eax*4 + 0x7cc81c]
test edi, edi
je 0x4a4952
or dword [edi], 0x400
mov eax, 4
mov word [edi + 0x1e], ax
xor eax, eax
mov dword [edi + 0x20], 0x51674c
mov word [edi + 8], ax
mov ecx, edi
call fcn.00475d50
mov ecx, dword [edi + 0x2e]
movzx esi, ax
call fcn.004a74b0
mov ecx, dword [edi + 0x32]
call fcn.004a74b0
or dword [edi], 0x200
xor eax, eax
mov edx, dword [0x6e7040]
mov dword [edi + 0x26], eax
mov word [edi + 0x18], ax
mov eax, 1
mov word [edi + 6], ax
mov ax, word [0x7b7b9c]
mov word [edi + 0x24], si
mov dword [edi + 0x2a], 0x300000
mov dword [edi + 0x1a], 0x516770
test edx, 0x300000
je 0x4a4b84
mov edx, dword [0x7cc7fc]
test edx, edx
je 0x4a49cc
mov ecx, dword [edx]
test cl, 1
je 0x4a49cc
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc800]
mov dword [0x7cc7fc], 0
test edx, edx
je 0x4a49f4
mov ecx, dword [edx]
test cl, 1
je 0x4a49f4
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc804]
mov dword [0x7cc800], 0
test edx, edx
je 0x4a4a1c
mov ecx, dword [edx]
test cl, 1
je 0x4a4a1c
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc808]
mov dword [0x7cc804], 0
test edx, edx
je 0x4a4a44
mov ecx, dword [edx]
test cl, 1
je 0x4a4a44
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc80c]
mov dword [0x7cc808], 0
test edx, edx
je 0x4a4a6c
mov ecx, dword [edx]
test cl, 1
je 0x4a4a6c
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc810]
mov dword [0x7cc80c], 0
test edx, edx
je 0x4a4a94
mov ecx, dword [edx]
test cl, 1
je 0x4a4a94
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc814]
mov dword [0x7cc810], 0
test edx, edx
je 0x4a4abc
mov ecx, dword [edx]
test cl, 1
je 0x4a4abc
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov edx, dword [0x7cc818]
mov dword [0x7cc814], 0
test edx, edx
je 0x4a4ae4
mov ecx, dword [edx]
test cl, 1
je 0x4a4ae4
and ecx, 0xfffffffe
dec ax
mov dword [edx], ecx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc81c]
mov dword [0x7cc818], 0
test ecx, ecx
je 0x4a4b0c
mov edx, dword [ecx]
test dl, 1
je 0x4a4b0c
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc820]
test ecx, ecx
je 0x4a4b2a
mov edx, dword [ecx]
test dl, 1
je 0x4a4b2a
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc824]
test ecx, ecx
je 0x4a4b48
mov edx, dword [ecx]
test dl, 1
je 0x4a4b48
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc828]
test ecx, ecx
je 0x4a4b66
mov edx, dword [ecx]
test dl, 1
je 0x4a4b66
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
mov ecx, dword [0x7cc82c]
test ecx, ecx
je 0x4a4b84
mov edx, dword [ecx]
test dl, 1
je 0x4a4b84
and edx, 0xfffffffe
dec ax
mov dword [ecx], edx
mov word [0x7b7b9c], ax
test bl, bl
je 0x4a4bda
call fcn.004adac0
push 0x51026c
push str.data.bin
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a4bda
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
push 0xa
push 4
push 0x6ef198
call esi
push edi
push 0xa
push 4
push 0x6ef1c0
call esi
push edi
push 1
push 4
push 0x6ef1e8
call esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x34
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b557b
mov esp, ebp
pop ebp
ret