Function at 0x40e1a0
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 edi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], edi
test eax, eax
mov ebx, 6
cmovns ebx, eax
mov eax, edi
mov dword [esp + 0x4c], edx
or eax, edx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], edx
mov dword [esp + 8], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x10], edi
je 0x40e209
mov eax, ebx
and eax, 0x400
jmp 0x40e21d
mov ecx, ebx
and ecx, 0x400
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x40e223
test ecx, ecx
jne 0x40e223
mov ecx, eax
mov ax, 8
mov edi, ecx
mov ecx, ebx
xor ecx, 0xfffeffff
mov edx, ebx
or edx, 0x10000
movzx esi, ax
test edx, ecx
lea eax, [esi + 0x800]
cmove esi, eax
mov dword [esp + 0x7c], esi
and ebx, 0xf
mov dword [esp + 0x34], ebx
sete al
mov dword [esp + 0x1c], edi
test edi, edi
setne cl
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x48]
test edi, edi
je 0x40e3ab
cmp dword [edx + 0x14], 2
jne 0x40e3ab
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
setne dl
cmp dword [ebp + 0x10], 0
sete ah
test esi, esi
je 0x40e3ab
and ah, dl
jne 0x40e3ab
movzx ebx, word [ebp + 0x1c]
test bx, bx
setne dl
cmp dword [ebp + 0x18], 0
sete ah
test ah, dl
jne 0x40e3ab
cmp dword [esp + 0x34], 0xb
jae 0x40e3ab
cmp dword [edi + 0x34], 0
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
je 0x40e2d7
cmp edx, 0xffffffff
jne 0x40e2ed
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x40e3b5
cmp dword [esp + 0x4c], 0
jne 0x40e2e6
cmp edx, 0xffff
jne 0x40e2ed
mov dword [edi + 0x34], 1
or al, cl
movzx eax, al
cmp dword [esp + 0x1c], 0
je 0x40e3a1
cmp byte [esi], 0x2f
je 0x40e3ca
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x74], eax
push esi
call fcn.00416be0
add esp, 4
cmp eax, 0x10000
jae 0x40e3ca
mov dword [esp + 0x2c], eax
movzx eax, bx
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], 0
mov ebx, 0xfffffffe
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
or edx, eax
mov edx, 0
je 0x40e35d
lea edx, [ebx + eax]
inc edx
mov ecx, dword [ecx]
and ecx, edx
sub eax, ecx
and eax, edx
mov edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [edi + 4]
xor edx, edx
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
add ebx, eax
setb dl
mov dword [esp + 0x20], ecx
add ebx, ecx
adc edx, 0
mov ecx, ebx
mov dword [esp + 0x18], ebx
add ecx, 0x4a
adc edx, 0
mov ebx, 0xfffffffe
cmp ebx, ecx
sbb dword [esp + 0x28], edx
jae 0x40e3d6
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x40e3b5
mov ecx, dword [esp + 0x10]
or ecx, dword [esp + 0x4c]
je 0x40e3c1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esi], 0x2f
jne 0x40e466
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x40e3b5
mov ecx, dword [edi + 0x34]
mov ebx, ecx
test ecx, ecx
jne 0x40e43a
shr eax, 0x1f
mov dword [esp + 0x28], eax
xor ebx, ebx
mov edx, dword [esp + 0x78]
add edx, dword [ebp + 0x38]
mov ecx, 0
adc ecx, 0xffffffff
add edx, dword [ebp + 0x40]
adc ecx, 0
mov eax, dword [esp + 0x2c]
add eax, eax
add edx, eax
adc ecx, dword [esp + 0x28]
add edx, dword [esp + 0x24]
adc ecx, 0
add edx, dword [esp + 0x20]
adc ecx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax]
adc ecx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
add edx, 0x72
adc ecx, 0
cmp ecx, 0xffffffff
je 0x40e43a
mov dword [edi + 0x34], 1
mov ebx, 1
xor ecx, ecx
test eax, eax
je 0x40e4bf
cmp byte [eax + esi - 1], 0x2f
mov edx, dword [ebp + 0x14]
jne 0x40e4c2
test edx, edx
jne 0x40e3ab
mov ecx, 0x10
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x4c]
je 0x40e4c2
jmp 0x40e3ab
mov ebx, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push 0
mov ebx, eax
call fcn.00402f80
add esp, 0xc
mov dword [esp + 0x74], eax
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
cmp eax, 4
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], 0
cmovb eax, ecx
mov dword [esp + 0x34], eax
mov eax, 1
cmovb ebx, eax
mov dword [esp + 0x30], ebx
movzx ebx, word [ebp + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x40e311
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x4c], ecx
test ebx, ebx
mov eax, 0x1c
cmove eax, ebx
mov ecx, dword [esp + 0x18]
add eax, ecx
add eax, 0x2e
mov ecx, dword [edi + 8]
cmp ecx, eax
mov ebx, dword [ebp + 8]
jae 0x40e528
test ecx, ecx
mov esi, 1
cmovne esi, ecx
cmp esi, eax
jae 0x40e50d
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 0x40e4f1
push esi
push dword [edi + 0xc]
push dword [edi]
push dword [ebx + 0x34]
call dword [ebx + 0x30]
add esp, 0x10
test eax, eax
je 0x40e59f
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 0x40e57a
test ecx, ecx
mov esi, 1
cmovne esi, ecx
cmp esi, eax
jae 0x40e55d
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 0x40e541
push esi
push dword [edi + 0x1c]
push dword [edi + 0x10]
push dword [ebx + 0x34]
call dword [ebx + 0x30]
add esp, 0x10
test eax, eax
je 0x40e59f
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], esi
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x40e5ab
cmp dword [esp + 0x30], 0
mov esi, dword [esp + 8]
jne 0x40e5af
push 0x4df40
push 1
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
jne 0x40e5af
mov dword [ebx + 0x1c], 0x10
jmp 0x40e3b5
mov esi, dword [esp + 8]
mov dword [esp + 0x10], eax
mov ecx, ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
push ebx
push esi
call fcn.0040ed70
add esp, 8
test eax, eax
je 0x40e683
cmp dword [esp + 0x30], 0
setne byte [esp + 0x28]
cmp dword [esp + 0x1c], 0
sete byte [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add eax, ebx
adc ecx, 0
mov edx, ebx
mov ebx, dword [esp + 0xc]
add ebx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ecx
movzx ecx, byte [esp + 0x1c]
adc esi, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x8e], xmm0
and cl, byte [esp + 0x28]
mov edx, ecx
xor dl, 1
movzx eax, dl
shl eax, 3
mov dword [esp + 0x28], eax
cmp dword [edi + 0x34], 0
je 0x40e698
mov byte [esp + 0x1c], cl
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov edx, 0
sbb edx, dword [esp + 0x44]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
jae 0x40e7af
xor edx, edx
cmp eax, dword [esp + 0x18]
mov eax, 0
sbb eax, dword [esp + 0x24]
lea eax, [esp + 0x38]
cmovae eax, edx
lea edx, [esp + 0x40]
lea ebx, [esp + 0x50]
jmp 0x40e7ca
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x40e3b5
cmp dword [esp + 0x54], 0
jne 0x40eb7a
test esi, esi
jne 0x40eb7a
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x80], 0x4034b50
mov esi, dword [ebp + 8]
xor ebx, ebx
test cl, cl
mov eax, 0x14
cmovne eax, ebx
mov byte [esp + 0x84], al
mov edx, dword [esp + 0x7c]
movzx eax, dx
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], ah
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], al
movups xmmword [esp + 0x89], xmm0
mov byte [esp + 0x99], 0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x9a], al
mov byte [esp + 0x9b], ah
mov eax, dword [ebp + 0x38]
mov byte [esp + 0x9c], al
mov byte [esp + 0x9d], ah
lea eax, [esp + 0x80]
push 0x1e
push eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40e923
mov ecx, dword [esp + 0xc]
add ecx, 0x1e
mov eax, esi
mov esi, dword [esp + 8]
adc esi, 0
mov edi, dword [esp + 0x2c]
push edi
push dword [ebp + 0xc]
push esi
mov dword [esp + 0x18], ecx
push ecx
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x40e913
mov edi, dword [esp + 0xc]
mov eax, edi
mov edx, dword [esp + 0x2c]
and eax, edx
mov ecx, eax
shr ecx, 0x1f
add eax, eax
xor edi, edx
add edi, eax
adc esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov esi, dword [ebp + 8]
jmp 0x40e90f
mov edi, dword [esp + 0x18]
cmp eax, edi
mov edx, 0
mov ecx, dword [esp + 0x24]
sbb edx, ecx
jae 0x40e7eb
lea eax, [esp + 0x38]
xor edx, edx
xor ebx, ebx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x20], ecx
push eax
push ebx
call fcn.0040ee20
add esp, 8
mov esi, eax
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
jmp 0x40e7f5
mov dword [esp + 0x20], 0
xor esi, esi
mov edx, esi
mov eax, dword [ebp + 0x38]
and edx, eax
mov dword [esp + 0x18], esi
xor esi, eax
mov dword [esp + 0x80], 0x4034b50
xor ebx, ebx
cmp byte [esp + 0x1c], 0
mov eax, 0x14
cmovne eax, ebx
mov byte [esp + 0x84], al
mov byte [esp + 0x85], 0
movzx eax, word [esp + 0x7c]
mov byte [esp + 0x86], al
mov byte [esp + 0x87], ah
lea edx, [esi + edx*2]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], al
xorps xmm0, xmm0
movups xmmword [esp + 0x89], xmm0
mov byte [esp + 0x99], 0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x9a], al
mov byte [esp + 0x9b], ah
mov byte [esp + 0x9c], dl
mov byte [esp + 0x9d], dh
lea eax, [esp + 0x80]
push 0x1e
push eax
push ecx
push edi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x40e923
mov ecx, dword [esp + 0xc]
add ecx, 0x1e
mov eax, esi
mov esi, dword [esp + 8]
adc esi, 0
mov edi, dword [esp + 0x2c]
push edi
push dword [ebp + 0xc]
push esi
mov dword [esp + 0x18], ecx
push ecx
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x40e913
mov eax, edi
mov ecx, dword [esp + 0xc]
add ecx, edi
adc esi, 0
cmp dword [esp + 0x20], 0
mov eax, ecx
mov dword [esp + 8], esi
je 0x40e92f
mov edi, eax
lea eax, [esp + 0xc0]
mov ebx, dword [esp + 0x18]
push ebx
push eax
push esi
push edi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x40eb6a
add edi, ebx
adc dword [esp + 8], 0
mov eax, edi
jmp 0x40e93a
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x40e3b7
mov dword [esp + 0x20], 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x40e96c
push ecx
push dword [ebp + 0x34]
mov ebx, dword [esp + 0x10]
push ebx
push eax
push dword [esi + 0x44]
mov edi, eax
call dword [esi + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x40eb6a
add edi, ecx
adc ebx, 0
mov dword [esp + 8], ebx
mov eax, edi
cmp dword [esp + 0x30], 0
je 0x40e9b6
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov edi, dword [esp + 0x10]
push edi
push eax
push dword [esi + 0x44]
mov ebx, eax
call dword [esi + 0x3c]
add esp, 0x14
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jne 0x40eb5d
mov eax, ecx
add ebx, ecx
mov dword [esp + 0xc], ebx
adc edi, 0
mov dword [esp + 8], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0
jmp 0x40ea60
mov dword [esp + 0xc], eax
cmp dword [ebp + 0x14], 0
je 0x40ea60
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
push 0
push 0xfffffffffffffff1
push dword [esp + 0x3c]
call fcn.0040d320
add esp, 0xc
lea ecx, [esp + 0x58]
push eax
push ecx
push 0x40ee80
mov esi, dword [esp + 0x1c]
push esi
call fcn.0040d180
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.00403d20
add esp, 0x18
cmp eax, 1
jne 0x40eb89
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov esi, dword [ebp + 8]
push dword [esp + 0x10]
push dword [esi + 0x34]
call dword [esi + 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 0x40ec97
mov dword [esp + 0x58], 0x8074b50
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x5e], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x5f], al
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x20], 0
je 0x40eb76
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x62], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], dh
mov byte [esp + 0x66], al
mov byte [esp + 0x67], cl
mov ecx, edi
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], ch
mov eax, edi
shr eax, 0x10
mov byte [esp + 0x6a], al
mov eax, edi
shr eax, 0x18
mov byte [esp + 0x6b], al
mov dword [esp + 0x10], 0x38
mov dword [esp + 0x24], 0x30
mov ecx, 0x28
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x30], 0x17
mov eax, dword [esp + 0x34]
mov byte [esp + 0x17], al
mov dword [esp + 0xb4], 0x16
mov dword [esp + 0xb0], 0x15
mov dword [esp + 0xac], 0x14
jmp 0x40ebf5
push dword [esp + 0x10]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x40e3b5
test edx, edx
je 0x40eba5
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x40e3b5
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x40e3b5
mov dword [esp + 0x60], ecx
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x24], 0x10
mov ecx, 8
mov dword [esp + 0x30], 0xf
mov dword [esp + 0xb4], 0xe
mov eax, edi
mov byte [esp + 0x17], al
mov dword [esp + 0xb0], 0xd
mov dword [esp + 0xac], 0xc
mov dword [esp + 0x1c], 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 + 0x24]
shrd esi, edx, cl
mov dword [esp + 0xb8], esi
movzx ebx, byte [esp + 0x17]
mov esi, dword [esp + 0xac]
mov byte [esp + esi + 0x58], bl
mov ebx, dword [esp + 0xb0]
mov byte [esp + ebx + 0x58], al
mov eax, edx
shr eax, cl
test cl, 0x20
cmove eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov byte [esp + ecx + 0x58], al
mov ecx, dword [esp + 0x10]
shrd edi, edx, cl
shr edx, cl
test cl, 0x20
cmove edx, edi
mov eax, dword [esp + 0x30]
mov byte [esp + eax + 0x58], dl
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x1c]
push esi
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40e3b5
mov eax, dword [esp + 0x1c]
add dword [esp + 0xc], eax
adc dword [esp + 8], 0
cmp dword [esp + 0x20], 0
je 0x40ece9
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 + 0x50]
cmovae esi, ecx
lea edx, [esp + 0x40]
cmovae edx, ecx
lea ecx, [esp + 0xc0]
push eax
push esi
call fcn.0040ee20
add esp, 8
mov dword [esp + 0x18], eax
movzx ebx, word [esp + 0x7c]
movzx esi, word [esp + 0x28]
movzx eax, word [esp + 0x18]
movzx edi, word [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x54]
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0
push 0
push ebx
push esi
push dword [esp + 0x98]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0xb0]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x64]
push edi
call fcn.0040eee0
add esp, 0x4c
test eax, eax
je 0x40e3b5
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov ebx, 1
jmp 0x40e3b7