Function at 0x40ee10
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
test eax, eax
mov ebx, 6
cmovns ebx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
or eax, edx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], edx
je 0x40ee7a
mov ecx, ebx
and ecx, 0x400
jmp 0x40ee8d
mov eax, ebx
and eax, 0x400
xor ecx, ecx
cmp dword [ebp + 0x14], 0
je 0x40ee93
test eax, eax
jne 0x40ee93
mov eax, ecx
mov cx, 8
movzx edx, cx
lea ecx, [edx + 0x800]
test ebx, 0x10000
cmove edx, ecx
mov dword [esp + 0x7c], edx
mov ecx, ebx
and ecx, 0xf
mov dword [esp + 0x34], ecx
sete cl
test eax, eax
setne dl
mov edi, dword [esi + 0x48]
mov dword [esp + 0x14], edi
test edi, edi
je 0x40f140
cmp dword [esi + 0x14], 2
jne 0x40f140
cmp dword [ebp + 0x14], 0
setne ch
cmp dword [ebp + 0x10], 0
sete dh
cmp dword [ebp + 0xc], 0
je 0x40f140
and dh, ch
jne 0x40f140
cmp word [ebp + 0x1c], 0
setne ch
cmp dword [ebp + 0x18], 0
sete dh
test dh, ch
jne 0x40f140
cmp dword [esp + 0x34], 0xb
jae 0x40f140
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x34], 0
mov edi, dword [esi + 0x10]
je 0x40ef37
cmp edi, 0xffffffff
mov edi, dword [esp + 0x20]
jne 0x40ef54
mov dword [esi + 0x1c], 2
jmp 0x40f147
mov esi, edi
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x40ef49
cmp esi, 0xffff
jne 0x40ef54
mov esi, dword [esp + 0x14]
mov dword [esi + 0x34], 1
mov esi, dword [esp + 0x18]
or esi, edi
je 0x40ef6f
test eax, eax
jne 0x40ef6f
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x40f147
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x2f
mov esi, dword [ebp + 8]
je 0x40eff7
or cl, dl
movzx ecx, cl
mov eax, ebx
xor eax, 0xfffffbff
or ebx, 0x400
and ebx, eax
je 0x40ef9d
mov dword [esp + 0x30], ecx
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x78], eax
jmp 0x40efe5
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push 0
mov esi, ecx
call fcn.00403470
add esp, 0xc
mov dword [esp + 0x78], eax
xor ecx, ecx
mov dword [esp + 0x40], edi
cmp edi, 4
mov eax, 1
cmovb esi, eax
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x34]
cmovb eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], edi
xor edi, edi
push dword [ebp + 0xc]
call fcn.004174b0
add esp, 4
cmp eax, 0x10000
jb 0x40f003
mov dword [esi + 0x1c], 0x19
jmp 0x40f147
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
or edx, ecx
mov eax, 0
je 0x40f03e
mov edx, ecx
and edx, 0xfffffffe
mov esi, ecx
mov eax, 0xfffffffe
or esi, eax
add edx, esi
inc edx
mov esi, dword [ebp + 8]
and edx, dword [esi]
lea esi, [eax + ecx]
inc esi
sub ecx, edx
and ecx, esi
mov eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
movzx ecx, word [ebp + 0x1c]
xor edx, edx
mov dword [esp + 0xb4], ecx
add ecx, dword [esp + 0x20]
setb dl
mov dword [esp + 0x74], esi
add ecx, esi
adc edx, 0
mov esi, ecx
mov dword [esp + 0x2c], ecx
add esi, 0x4a
adc edx, 0
mov ecx, 0xfffffffe
cmp ecx, esi
sbb dword [esp + 0x24], edx
jae 0x40f08e
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x40f147
mov eax, dword [eax + 0x34]
mov dword [esp + 0x24], eax
test eax, eax
mov esi, dword [ebp + 8]
jne 0x40f111
mov edx, dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x28]
and ecx, eax
xor edx, eax
mov dword [esp + 0x70], edx
xor eax, eax
add ecx, dword [esp + 0x20]
setb al
shld eax, ecx, 1
mov dword [esp + 0x6c], eax
add ecx, ecx
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0xb4]
add eax, dword [ebp + 0x38]
mov edx, 0
adc edx, 0xffffffff
add eax, dword [ebp + 0x40]
adc edx, 0
add eax, dword [esp + 0x74]
adc edx, 0
add eax, dword [esp + 0x70]
adc edx, dword [esi + 4]
add eax, ecx
adc edx, dword [esp + 0x6c]
add eax, 0x72
adc edx, 0
cmp edx, 0xffffffff
je 0x40f111
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x20]
test edx, edx
je 0x40f153
mov eax, dword [ebp + 0xc]
cmp byte [edx + eax - 1], 0x2f
mov edx, dword [ebp + 0x14]
jne 0x40f156
test edx, edx
jne 0x40f140
mov dword [esp + 0x74], 0x10
or dword [esp + 0x18], edi
je 0x40f156
mov dword [esi + 0x1c], 0x18
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x24]
test esi, esi
mov eax, 0x1c
cmove eax, esi
mov ecx, dword [esp + 0x2c]
add eax, ecx
add eax, 0x2e
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
cmp ecx, eax
jae 0x40f1c8
test ecx, ecx
mov esi, 1
cmovne esi, ecx
cmp esi, eax
jae 0x40f1a2
mov ecx, esi
and ecx, 0xfffffffd
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
xor edx, 2
imul edx, ecx
add esi, edx
cmp esi, eax
jb 0x40f186
push esi
push dword [edi + 0xc]
push dword [edi]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x40f31d
mov edi, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 8], esi
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
inc eax
cmp ecx, eax
jae 0x40f225
test ecx, ecx
mov esi, 1
cmovne esi, ecx
cmp esi, eax
jae 0x40f1fd
mov ecx, esi
and ecx, 0xfffffffd
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
xor edx, 2
imul edx, ecx
add esi, edx
cmp esi, eax
jb 0x40f1e1
push esi
push dword [edi + 0x1c]
push dword [edi + 0x10]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x40f31d
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], esi
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x40f24d
cmp dword [esp + 0x30], 0
jne 0x40f24d
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x40f437
mov dword [esp + 0x18], eax
mov edi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
push esi
push dword [esp + 0x10]
call fcn.0040fa10
add esp, 8
test eax, eax
je 0x40f329
cmp dword [esp + 0x30], 0
setne dl
test ebx, ebx
sete dh
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
add ebx, esi
adc ecx, 0
mov edi, dword [esp + 0x10]
add edi, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov esi, dword [esp + 0xc]
adc esi, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x8e], xmm0
and dh, dl
mov dl, dh
xor dl, 1
movzx eax, dl
shl eax, 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x34], 0
je 0x40f33b
mov byte [esp + 0x2c], dh
mov eax, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
mov ebx, 0xfffffffe
cmp ebx, dword [esp + 0x40]
mov edx, 0
sbb edx, dword [esp + 0x44]
mov dword [esp + 0x10], edi
jae 0x40f446
xor edx, edx
cmp ebx, eax
mov eax, 0
sbb eax, ecx
lea eax, [esp + 0x38]
cmovae eax, edx
lea esi, [esp + 0x48]
lea edx, [esp + 0x40]
jmp 0x40f459
mov dword [edi + 0x1c], 0x10
jmp 0x40f147
push dword [esp + 0x18]
push dword [edi + 0x34]
call dword [edi + 0x2c]
add esp, 8
jmp 0x40f147
cmp dword [esp + 0x4c], 0
jne 0x40f820
test esi, esi
jne 0x40f820
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x80], 0x4034b50
mov esi, ebx
xor ebx, ebx
test dh, dh
mov edx, 0x14
cmovne edx, ebx
mov byte [esp + 0x84], dl
mov edx, dword [esp + 0x7c]
movzx eax, dx
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], ah
mov eax, dword [esp + 0x24]
mov byte [esp + 0x88], al
movups xmmword [esp + 0x89], xmm0
mov byte [esp + 0x99], 0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x9a], al
mov edi, eax
mov byte [esp + 0x9b], ah
mov eax, dword [ebp + 0x38]
mov byte [esp + 0x9c], al
mov byte [esp + 0x9d], ah
lea edx, [esp + 0x80]
push 0x1e
push edx
push ecx
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40f5b9
mov ecx, dword [esp + 0x10]
add ecx, 0x1e
mov eax, esi
mov esi, dword [esp + 0xc]
adc esi, 0
push edi
push dword [ebp + 0xc]
push esi
mov dword [esp + 0x1c], ecx
push ecx
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x40f5a9
mov ecx, dword [esp + 0x10]
add ecx, edi
adc esi, 0
mov eax, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
jmp 0x40f5cf
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x40f147
cmp ebx, eax
mov edx, 0
sbb edx, ecx
jae 0x40f483
lea eax, [esp + 0x38]
xor esi, esi
xor edx, edx
lea ebx, [esp + 0xc0]
mov ecx, ebx
push eax
push esi
call fcn.0040fac0
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov esi, dword [ebp + 8]
jmp 0x40f48c
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x80], 0x4034b50
xor ebx, ebx
cmp byte [esp + 0x2c], 0
mov edx, 0x14
cmovne edx, ebx
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], 0
movzx edx, word [esp + 0x7c]
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], dh
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x2c], edi
lea edx, [edi + eax]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x88], al
xorps xmm0, xmm0
movups xmmword [esp + 0x89], xmm0
mov byte [esp + 0x99], 0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x9a], al
mov byte [esp + 0x9b], ah
mov byte [esp + 0x9c], dl
mov byte [esp + 0x9d], dh
lea edx, [esp + 0x80]
push 0x1e
push edx
push ecx
push dword [esp + 0x34]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40f5b9
mov ecx, esi
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, dword [esp + 0xc]
adc eax, 0
mov esi, dword [esp + 0x20]
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x14], eax
push eax
push edi
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40f5a9
mov eax, esi
mov esi, dword [ebp + 8]
add edi, eax
mov edx, dword [esp + 0xc]
adc edx, 0
cmp dword [esp + 0x14], 0
mov ecx, edi
je 0x40f5c5
lea eax, [esp + 0xc0]
mov ebx, dword [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x14], edx
push edx
push ecx
push dword [esi + 0x44]
mov edi, ecx
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40f810
add edi, ebx
mov eax, dword [esp + 0xc]
adc eax, 0
mov ebx, dword [ebp + 0x38]
mov ecx, edi
jmp 0x40f5d2
push dword [esp + 0x18]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x40f149
mov eax, edx
mov dword [esp + 0x14], 0
mov ebx, dword [ebp + 0x38]
test ebx, ebx
mov dword [esp + 0x10], ecx
je 0x40f603
push ebx
push dword [ebp + 0x34]
mov edi, eax
push eax
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40f810
add dword [esp + 0x10], ebx
adc edi, 0
mov dword [esp + 0xc], edi
jmp 0x40f607
mov dword [esp + 0xc], eax
cmp dword [esp + 0x30], 0
je 0x40f65d
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40f800
mov edx, dword [esp + 0x10]
mov eax, edx
and eax, esi
mov ecx, eax
shr ecx, 0x1f
add eax, eax
xor edx, esi
add edx, eax
mov dword [esp + 0x10], edx
adc dword [esp + 0xc], ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0
jmp 0x40f703
cmp dword [ebp + 0x14], 0
je 0x40f703
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
push 0
push 0xfffffffffffffff1
push dword [esp + 0x3c]
call fcn.0040e0e0
add esp, 0xc
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x40fb20
mov esi, dword [esp + 0x24]
push esi
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xbc]
push 4
push 0
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.004041a0
add esp, 0x18
cmp eax, 1
jne 0x40f82f
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edi, eax
mov dword [esp + 0x34], ecx
or eax, ecx
je 0x40f937
mov dword [esp + 0x50], 0x8074b50
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x57], al
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x14], 0
je 0x40f81c
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x5a], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x5b], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], dh
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], cl
mov ecx, edi
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov eax, edi
shr eax, 0x10
mov byte [esp + 0x62], al
mov eax, edi
shr eax, 0x18
mov byte [esp + 0x63], al
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x70], 0x30
mov ecx, 0x28
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x28], 0x17
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1f], al
mov dword [esp + 0x6c], 0x16
mov dword [esp + 0xb0], 0x15
mov dword [esp + 0xac], 0x14
jmp 0x40f898
push dword [esp + 0x18]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x40f147
test edx, edx
je 0x40f84b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x40f147
push dword [esp + 0x18]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x40f147
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x70], 0x10
mov ecx, 8
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x6c], 0xe
mov eax, edi
mov byte [esp + 0x1f], al
mov dword [esp + 0xb0], 0xd
mov dword [esp + 0xac], 0xc
mov dword [esp + 0x18], 0x10
mov ebx, edi
mov edx, dword [esp + 0x34]
shrd ebx, edx, cl
mov eax, edx
shr eax, cl
test cl, 0x20
cmove eax, ebx
mov esi, edi
mov ecx, dword [esp + 0x70]
shrd esi, edx, cl
mov dword [esp + 0xb8], esi
movzx ebx, byte [esp + 0x1f]
mov esi, dword [esp + 0xac]
mov byte [esp + esi + 0x50], bl
mov ebx, dword [esp + 0xb0]
mov byte [esp + ebx + 0x50], al
mov eax, edx
shr eax, cl
test cl, 0x20
cmove eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x6c]
mov byte [esp + ecx + 0x50], al
mov ecx, dword [esp + 0x30]
shrd edi, edx, cl
shr edx, cl
test cl, 0x20
cmove edx, edi
mov eax, dword [esp + 0x28]
mov byte [esp + eax + 0x50], dl
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x18]
push esi
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40f147
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], eax
adc dword [esp + 0xc], 0
cmp dword [esp + 0x14], 0
je 0x40f989
xor ecx, ecx
mov edx, 0xfffffffe
cmp edx, dword [esp + 0x38]
mov eax, 0
sbb eax, dword [esp + 0x3c]
lea eax, [esp + 0x38]
cmovae eax, ecx
cmp edx, dword [esp + 0x40]
mov edx, 0
sbb edx, dword [esp + 0x44]
lea esi, [esp + 0x48]
cmovae esi, ecx
lea edx, [esp + 0x40]
cmovae edx, ecx
lea ecx, [esp + 0xc0]
push eax
push esi
call fcn.0040fac0
add esp, 8
mov dword [esp + 0x2c], eax
movzx ebx, word [esp + 0x7c]
movzx esi, word [esp + 0x24]
movzx eax, word [esp + 0x2c]
movzx edi, word [esp + 0x20]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x7c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0
push 0
push ebx
push esi
push dword [esp + 0x9c]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0xec]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x58]
push edi
call fcn.0040fb80
add esp, 0x4c
test eax, eax
je 0x40f147
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ebx, 1
jmp 0x40f149