Function at 0x7741324b
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 0x2c]
xor eax, eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
push esi
mov ecx, dword [edx + 4]
push edi
mov esi, dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [ebp - 0x24], ebx
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x77413294
mov esi, dword [esi + 0x10]
mov edx, dword [ebp - 0x18]
cmp dword [esi], edx
mov edx, dword [ebp + 0x2c]
je 0x774133d9
inc ecx
add esi, 4
cmp ecx, edi
jb 0x7741327e
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x77413928
mov eax, dword [ebx]
movsx ecx, word [ebp + 0x28]
push ecx
push edx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e0]
mov ecx, ebx
call esi
mov edi, dword [ebp + 0xc]
test dword [edi + 8], eax
je 0x77413928
cmp dword [edi + 0xc], 3
jne 0x774133f2
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x77413928
test byte [eax + 0xa0], 1
je 0x77413928
movzx ecx, word [edi + 0x10]
test cl, 2
je 0x77413928
mov edx, dword [ebp + 8]
cmp edx, dword [ebx + 0x1d8]
je 0x77413928
and ecx, 4
je 0x77413315
cmp edx, dword [ebx + 0x18]
je 0x77413315
cmp edx, dword [ebx + 0x1c]
jne 0x77413928
mov esi, dword [ebx + 0xc]
xor eax, eax
test cx, cx
setne al
lea eax, [eax*4 + 0xa]
mov ecx, eax
test esi, esi
je 0x77413336
test byte [esi + 0x58], 1
je 0x77413336
or ecx, 0x20
mov eax, dword [ebp + 0x38]
cmp byte [eax], 0
je 0x77413341
or ecx, 0x40
movsx eax, word [edi + 6]
push ebx
push dword [ebx + 0x1c]
movsx esi, word [ebp + 0x28]
add eax, edx
push eax
push dword [ebx + 0x1c4]
lea eax, [ebx + 0x248]
push dword [ebx + 0x1c8]
push ecx
push eax
lea eax, [ebx + 0xf0]
push eax
lea eax, [ebx + 0x24]
push eax
push ecx
mov ecx, dword [ebx + 0x1bc]
push esi
push dword [ebp + 0x2c]
call fcn.7740fc15
mov eax, dword [ebp + 0x38]
mov byte [eax], 1
mov eax, dword [ebx + 0x1bc]
test byte [eax + 0x44], 1
je 0x77413928
mov eax, dword [ebx + 4]
test eax, eax
je 0x77413928
mov edx, dword [eax + 0x30]
test edx, edx
je 0x77413928
xor ecx, ecx
cmp dword [eax + 0x34], ecx
je 0x77413928
mov eax, dword [ebx + 0x1c4]
mov al, byte [esi + eax]
mov byte [esi + edx], al
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x1c8]
mov ecx, dword [eax + 0x34]
mov eax, dword [edx + esi*4]
mov dword [ecx + esi*4], eax
jmp 0x77413928
mov eax, dword [ebx + 0x244]
imul ecx, ecx, 0xc
mov esi, dword [ecx + eax + 4]
mov eax, dword [ecx + eax + 8]
mov dword [ebp - 0x14], esi
jmp 0x77413297
cmp dword [edi + 0xc], 2
jne 0x77413654
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0xc]
push ecx
push 0x58
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x40]
call dword [0x7741d0e0]
call dword [esi + 0x40]
test eax, eax
js 0x77413928
movzx eax, word [edi + 4]
mov esi, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.774077e5
add eax, dword [ebp + 0x14]
movsx edx, word [edi + 6]
add edx, eax
cmp dword [ebp + 0x30], 0
mov dword [ebp - 0x1c], edx
je 0x77413482
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov word [eax + 0x4a], cx
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x4e], cl
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x4f], cl
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 6]
mov word [eax + 0x4c], cx
mov ecx, dword [ebp - 0xc]
imul eax, edx, 0x2710
cdq
add eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
adc edx, dword [ebp + 0x20]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x14], 0x41
jmp 0x774134fe
movzx ecx, word [esi + 2]
test cx, cx
je 0x774134a7
mov al, byte [esi]
mov byte [ebp - 2], al
test al, al
je 0x774134a7
movzx eax, word [edi + 4]
xor edx, edx
div ecx
movzx ecx, byte [ebp - 2]
cdq
idiv ecx
mov ecx, eax
jmp 0x774134a9
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov word [eax + 0x4a], cx
mov ecx, esi
movzx eax, word [edi + 4]
push eax
call fcn.77412225
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov byte [ecx + 0x4e], al
movzx eax, word [esi + 2]
test ax, ax
je 0x774134d5
mov ecx, eax
movzx eax, word [edi + 4]
div ecx
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x4f], dl
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 6]
mov edx, dword [ebp + 0x18]
mov word [eax + 0x4c], cx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
add ecx, edx
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 2
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x14]
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 0x1c]
mov word [eax + 0x48], cx
mov eax, dword [ebp - 0xc]
mov cl, byte [edi + 0x21]
mov byte [eax + 0x53], cl
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x28], 5
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 0x18]
mov word [eax + 0x44], cx
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 0x1a]
mov word [eax + 0x46], cx
mov eax, dword [ebp - 0xc]
mov cl, byte [edi + 0x1e]
mov byte [eax + 0x50], cl
mov eax, dword [ebp - 0xc]
mov cl, byte [edi + 0x1f]
mov byte [eax + 0x51], cl
mov eax, dword [ebp - 0xc]
mov cl, byte [edi + 0x20]
mov byte [eax + 0x52], cl
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x34c]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 0x22]
mov word [eax + 0x54], cx
mov eax, dword [ebp - 0xc]
mov cx, word [edi + 0x24]
mov word [eax + 0x56], cx
mov eax, dword [ebp - 0xc]
or dword [eax + 0x14], 0x80
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x774135e8
mov edi, dword [ebp + 0x14]
add edi, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [edi + eax]
mov eax, dword [edx + 0x38]
add eax, ecx
cmp eax, esi
jl 0x774135c6
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], esi
jmp 0x774135e8
sub ecx, edi
xor eax, eax
sub ecx, dword [ebp + 0x34]
add dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x40], eax
jge 0x774135de
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], esi
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x51], 1
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 8]
push ecx
push 0x77401b94
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x7741d0e0]
call dword [esi]
test eax, eax
js 0x7741362e
mov eax, dword [ebp - 8]
push dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, dword [ebp + 0x24]
push dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
jns 0x77413928
push dword [ebp - 0xc]
jmp 0x77413918
cmp dword [edi + 0xc], 1
jne 0x77413928
mov al, byte [edi + 0x1b]
mov byte [ebp - 2], al
test al, 0x10
je 0x77413676
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov al, byte [eax + 0x9c]
mov byte [ebp - 2], al
mov byte [ebp - 0x18], al
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 1]
mov byte [ebp - 1], 0
push eax
push dword [ebp + 0x24]
lea eax, [ebx + 0x1e0]
push eax
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x7741d0e0]
mov ecx, ebx
call esi
mov ecx, dword [ebp + 0x2c]
push eax
push dword [ebp - 0x18]
lea eax, [ebx + 0x24]
push eax
push edi
call fcn.7740f0ea
test eax, eax
js 0x77413928
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x10]
push ecx
push 0x50
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x40]
call dword [0x7741d0e0]
call dword [esi + 0x40]
test eax, eax
js 0x77413928
mov cl, byte [edi + 0x20]
mov eax, dword [ebp - 0x10]
or cl, 1
mov esi, dword [ebp + 0x10]
mov byte [eax + 0x45], cl
mov ecx, esi
movzx eax, word [edi + 4]
push eax
call fcn.774077e5
add eax, dword [ebp + 0x14]
movsx edx, word [edi + 6]
add edx, eax
cmp dword [ebp + 0x30], 0
mov dword [ebp - 0x20], edx
je 0x77413751
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax + 0x3e], cx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x42], cl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x43], cl
mov eax, dword [ebp - 0x10]
mov cx, word [edi + 6]
mov word [eax + 0x40], cx
mov ecx, dword [ebp - 0x10]
imul eax, edx, 0x2710
cdq
add eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
adc edx, dword [ebp + 0x20]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0x41
jmp 0x774137d1
movzx ecx, word [esi + 2]
test cx, cx
je 0x77413776
mov al, byte [esi]
mov byte [ebp - 3], al
test al, al
je 0x77413776
movzx eax, word [edi + 4]
xor edx, edx
div ecx
movzx ecx, byte [ebp - 3]
cdq
idiv ecx
mov ecx, eax
jmp 0x77413778
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + 0x3e], cx
mov ecx, esi
movzx eax, word [edi + 4]
push eax
call fcn.77412225
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x42], al
movzx eax, word [esi + 2]
test ax, ax
je 0x774137a7
mov ecx, eax
xor edx, edx
movzx eax, word [edi + 4]
div ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov byte [eax + 0x43], cl
mov eax, dword [ebp - 0x10]
mov cx, word [edi + 6]
mov word [eax + 0x40], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp + 0x18]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 2
mov cl, byte [edi + 0x17]
test cl, cl
je 0x774137e3
mov esi, dword [ebp - 0x10]
call fcn.77412d53
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x38], ecx
mov cl, byte [edi + 0x18]
test cl, cl
je 0x774137fe
mov esi, dword [ebp - 0x10]
call fcn.77412d53
add dword [esi + 0x38], eax
mov eax, dword [ebp - 0x10]
mov cl, byte [edi + 0x16]
mov byte [eax + 0x44], cl
cmp byte [edi + 0x19], 0
je 0x77413829
mov bl, byte [edi + 0x19]
call dword [sym.imp.msvcrt.dll_rand]
movzx ecx, bl
cdq
idiv ecx
mov eax, dword [ebp - 0x10]
shr bl, 1
sub dl, bl
mov ebx, dword [ebp - 0x24]
add byte [eax + 0x44], dl
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
cmp byte [ecx + 0x44], dl
jae 0x7741383a
mov byte [ecx + 0x44], dl
mov ecx, dword [ebp - 0x10]
cmp byte [ecx + 0x44], 0x7f
jbe 0x77413847
mov byte [ecx + 0x44], 0x7f
mov ecx, dword [ebp - 0x10]
mov ax, word [edi + 0x14]
mov word [ecx + 0x3c], ax
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
mov byte [ecx + 0x4b], al
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 2]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x49], cl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 0x2c]
mov cl, byte [eax + 9]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x4a], cl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x34c]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0x10]
mov cl, byte [edi + 0x17]
mov byte [eax + 0x46], cl
mov eax, dword [ebp - 0x10]
mov cl, byte [edi + 0x18]
mov byte [eax + 0x47], cl
mov eax, dword [ebp - 0x10]
mov cl, byte [edi + 0x19]
mov byte [eax + 0x48], cl
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp - 8]
mov byte [ecx + 0x4c], al
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x10]
push ecx
push 0x77401b94
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x7741d0e0]
call dword [esi]
test eax, eax
js 0x774138fb
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ebx, dword [ebp + 0x24]
push dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
jns 0x77413928
push dword [ebp - 0x10]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 0x44]
mov ecx, esi
call dword [0x7741d0e0]
call esi
pop edi
pop esi
pop ebx
leave
ret 0x34