Function at 0x403220
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x40a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x44], esi
mov ecx, esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], edi
lea edx, [edi + 0x40]
call fcn.00402920
test eax, eax
je 0x403c5c
mov eax, 0x5a4d
cmp word [ebx], ax
je 0x40330d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x4032d4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4032d4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x63c17caf
mov cl, byte [edx]
inc edx
test cl, cl
je 0x4032cd
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x4032b0
cmp esi, 0x9d0faeed
je 0x4032d8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403295
mov eax, dword [eax]
jmp 0x403270
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push 0xc1
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f2e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x3c]
mov ecx, esi
add edx, 0xf8
call fcn.00402920
test eax, eax
je 0x403c5c
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x4033ac
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x4033a8
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4033a8
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xdeb635f4
mov cl, byte [edx]
inc edx
test cl, cl
je 0x4033a1
nop dword [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x403380
cmp esi, 0x8ea2cf5a
je 0x4032d8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403366
mov eax, dword [eax]
jmp 0x403341
mov ecx, 0x14c
cmp word [eax + 4], cx
je 0x40342c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x403428
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x403428
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xb063b385
mov cl, byte [edx]
inc edx
test cl, cl
je 0x403421
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x403400
cmp esi, 0x96ddb14b
je 0x4032d8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x4033e8
mov eax, dword [eax]
jmp 0x4033c3
mov ebx, dword [eax + 0x38]
test bl, 1
je 0x4034ac
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x4034a8
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4034a8
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0xfe62535b
mov cl, byte [edx]
inc edx
test cl, cl
je 0x4034a1
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x403480
cmp esi, 0xc43ab319
je 0x4032d8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403465
mov eax, dword [eax]
jmp 0x403440
movzx edx, word [eax + 0x14]
movzx esi, word [eax + 6]
add edx, 0x24
test esi, esi
je 0x4034df
add edx, eax
nop dword [eax]
mov eax, dword [edx + 4]
lea edx, [edx + 0x28]
test eax, eax
mov ecx, ebx
cmovne ecx, eax
add ecx, dword [edx - 0x28]
cmp ecx, edi
cmovbe ecx, edi
mov edi, ecx
sub esi, 1
jne 0x4034c0
mov dword [ebp - 0x38], ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax + eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x40], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x403554
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x403554
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x3cfe2e2f
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40354d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x403530
cmp esi, 0x659230bb
je 0x403558
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403515
mov eax, dword [eax]
jmp 0x4034f0
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0x28]
add eax, edx
push ecx
call eax
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
dec eax
lea edx, [ecx - 1]
add eax, ecx
lea esi, [ecx - 1]
not edx
add esi, dword [edi + 0x50]
and eax, edx
and esi, edx
cmp esi, eax
je 0x403611
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x40360d
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x40360d
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop dword [eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x30164821
mov cl, byte [edx]
inc edx
test cl, cl
je 0x403606
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x4035e5
cmp esi, 0x76c7f727
je 0x4032d8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x4035d0
mov eax, dword [eax]
jmp 0x4035a4
push 0
push 4
push 0x3000
push esi
push dword [edi + 0x34]
call fcn.00402e80
add esp, 0x14
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4036fa
push eax
push 4
push 0x3000
push esi
push eax
call fcn.00402e80
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x4036fd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x4036c4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4036c4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x8bda2748
mov cl, byte [edx]
inc edx
test cl, cl
je 0x4036bd
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x4036a0
cmp esi, 0x7fe7e1ee
je 0x4036c8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403685
mov eax, dword [eax]
jmp 0x403660
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push 0xe
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f2e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x40]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x40
push 8
mov dword [ebp - 0x60], eax
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x48], ebx
test ebx, ebx
jne 0x4037ac
push eax
push 0x8000
push eax
push esi
call fcn.00402f40
mov eax, dword fs:[0x30]
add esp, 0x10
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x2c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x30], ecx
cmp ecx, edx
je 0x4037a8
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4037a8
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0xca181029
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x4037a1
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x403780
cmp esi, 0xb92215ef
je 0x4036c8
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x403765
mov eax, dword [eax]
jmp 0x403740
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 4], esi
movzx eax, word [edi + 0x16]
shr eax, 0xd
and eax, 1
mov dword [ebx + 0x1c], fcn.00402e80
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x20], fcn.00402f40
mov dword [ebx + 0x24], 0x403000
mov dword [ebx + 0x28], 0x4030b0
mov dword [ebx + 0x2c], 0x403170
mov dword [ebx + 0x34], 0
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x3c], eax
mov edx, dword [edi + 0x54]
call fcn.00402920
test eax, eax
je 0x403bdd
push 0
push 4
push 0x1000
push dword [edi + 0x54]
push esi
call fcn.00402e80
push dword [edi + 0x54]
mov edi, dword [ebp - 0x2c]
mov esi, eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x3c]
add esp, 0x20
mov ecx, dword [ebp - 0x40]
add eax, esi
mov dword [ebx], eax
mov dword [ebp - 0x38], 0
mov dword [eax + 0x34], ecx
xor eax, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x34], edx
movzx edi, word [ecx + 0x14]
add edi, 0x24
cmp ax, word [ecx + 6]
jae 0x40390a
add edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x40389c
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x4038f2
push dword [ebx + 0x34]
mov eax, dword [edi]
push 4
push 0x1000
add eax, edx
push esi
push eax
mov eax, dword [ebx + 0x1c]
call eax
add esp, 0x14
test eax, eax
je 0x403bdd
mov eax, dword [edi]
add eax, dword [ebp - 0x34]
push esi
push 0
push eax
mov dword [edi - 4], eax
call sub.VCRUNTIME140.dll_memset
jmp 0x4038ec
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x44]
add edx, eax
call fcn.00402920
test eax, eax
je 0x403bdd
push dword [ebx + 0x34]
mov eax, dword [edi]
add eax, dword [ebp - 0x34]
push 4
push 0x1000
push dword [edi + 4]
push eax
mov eax, dword [ebx + 0x1c]
call eax
add esp, 0x14
test eax, eax
je 0x403bdd
push dword [edi + 4]
mov eax, dword [edi + 8]
mov esi, dword [edi]
add eax, dword [ebp - 0x2c]
add esi, dword [ebp - 0x34]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi - 4], esi
mov edx, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebx]
add edi, 0x28
mov esi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x38], esi
movzx eax, word [ecx + 6]
cmp esi, eax
jl 0x403854
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x34]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x2c], eax
je 0x40399c
cmp dword [ecx + 0xa4], 0
jne 0x403929
xor eax, eax
jmp 0x4039a1
mov edx, dword [ebx + 4]
mov edi, dword [ecx + 0xa0]
add edi, edx
mov dword [ebp - 0x38], edx
mov eax, dword [edi]
test eax, eax
je 0x40399c
nop dword [eax]
mov ecx, dword [edi + 4]
add eax, edx
mov dword [ebp - 0x30], eax
lea edx, [edi + 8]
xor esi, esi
lea eax, [ecx - 8]
test eax, 0xfffffffe
jbe 0x40398d
mov ebx, dword [ebp - 0x30]
nop word [eax + eax]
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x40397d
mov eax, dword [ebp - 0x2c]
and ecx, 0xfff
add dword [ecx + ebx], eax
mov ecx, dword [edi + 4]
inc esi
add edx, 2
lea eax, [ecx - 8]
shr eax, 1
cmp esi, eax
jb 0x403960
mov eax, dword [edi + ecx]
add edi, ecx
mov edx, dword [ebp - 0x38]
test eax, eax
jne 0x403940
mov ebx, dword [ebp - 0x48]
mov eax, 1
mov ecx, ebx
mov dword [ebx + 0x18], eax
call fcn.00402b50
test eax, eax
je 0x403bdd
mov edi, dword [ebx]
mov ecx, dword [ebx + 0x3c]
neg ecx
movzx esi, word [edi + 0x14]
add esi, edi
mov eax, dword [esi + 0x20]
and ecx, eax
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x58], ecx
test edx, edx
jne 0x4039eb
mov eax, dword [esi + 0x3c]
test al, 0x40
je 0x4039e4
mov edx, dword [edi + 0x20]
jmp 0x4039eb
test al, al
jns 0x4039eb
mov edx, dword [edi + 0x24]
mov ecx, dword [esi + 0x3c]
mov eax, 1
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x30], 1
cmp ax, word [edi + 6]
jae 0x403acc
lea eax, [esi + 0x64]
mov dword [ebp - 0x34], eax
mov esi, dword [eax - 0x1c]
mov dword [ebp - 0x44], esi
mov esi, dword [ebx + 0x3c]
mov ebx, dword [eax - 0x14]
neg esi
and esi, dword [ebp - 0x44]
test ebx, ebx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x48]
jne 0x403a4a
test byte [eax], 0x40
je 0x403a3c
mov ebx, dword [edi + 0x20]
jmp 0x403a44
test byte [eax], 0x80
je 0x403a4a
mov ebx, dword [edi + 0x24]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x48]
cmp dword [ebp - 0x2c], esi
je 0x403a8a
mov eax, dword [ebp - 0x38]
add eax, edx
cmp eax, esi
ja 0x403a87
lea edx, [ebp - 0x5c]
mov ecx, ebx
call fcn.004029e0
test eax, eax
je 0x403bdd
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebx]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], eax
mov eax, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
jmp 0x403aaa
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov eax, ecx
and eax, edx
or ecx, edx
bt eax, 0x19
jb 0x403a9e
and ecx, 0xfdffffff
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
add eax, 0x28
mov dword [ebp - 0x34], eax
inc esi
movzx eax, word [edi + 6]
cmp esi, eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x30], esi
jl 0x403a17
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 1
mov ecx, ebx
call fcn.004029e0
test eax, eax
je 0x403bdd
mov edx, dword [ebx]
mov ecx, edx
mov esi, dword [edx + 0xc0]
test esi, esi
je 0x403b17
mov edi, dword [ebx + 4]
mov esi, dword [esi + edi + 0xc]
test esi, esi
je 0x403b17
mov eax, dword [esi]
test eax, eax
je 0x403b17
push 0
push 1
push edi
call eax
mov eax, dword [esi + 4]
lea esi, [esi + 4]
test eax, eax
jne 0x403b04
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x403c9f
mov ecx, dword [ebp - 0x40]
add eax, ecx
cmp dword [ebx + 0x14], 0
je 0x403c89
push 0
push 1
push ecx
call eax
test eax, eax
jne 0x403c6f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x30], ecx
cmp ecx, esi
je 0x403bb4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x403bb4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x9de02942
mov cl, byte [edx]
inc edx
test cl, cl
je 0x403bad
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x403b90
cmp esi, 0x98232930
je 0x403bb8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403b75
mov eax, dword [eax]
jmp 0x403b50
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push 0x45a
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ebx, dword [ebp - 0x48]
cmp dword [ebx + 0x10], 0
je 0x403bf4
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push 0
push 0
mov eax, dword [eax + 0x28]
push ecx
add eax, ecx
call eax
push dword [ebx + 0x30]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov eax, dword [ebx + 8]
add esp, 4
test eax, eax
je 0x403c35
xor esi, esi
cmp dword [ebx + 0xc], esi
jle 0x403c2f
mov eax, dword [ebx + 8]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x403c29
push dword [ebx + 0x34]
mov eax, dword [ebx + 0x2c]
push ecx
call eax
mov eax, dword [ebx + 8]
add esp, 8
inc esi
cmp esi, dword [ebx + 0xc]
jl 0x403c10
push eax
call edi
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x403c4f
push dword [ebx + 0x34]
push 0x8000
push 0
push eax
mov eax, dword [ebx + 0x20]
call eax
add esp, 0x10
push ebx
push 0
call dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f2e
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [ebx + 0x10], 1
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f2e
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x38], eax
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f2e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
mov dword [ebx + 0x38], 0
xor ecx, ebp
pop ebx
call fcn.00403f2e
mov esp, ebp
pop ebp
ret