Function at 0x48da6b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], eax
push 0xc
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0048cff7
add esp, 0xc
mov eax, 1
test eax, eax
je 0x48dab8
mov ecx, dword [ebp - 5]
and ecx, 0xff
and ecx, 0x20
test ecx, ecx
je 0x48dab8
mov eax, 6
jmp 0x48ddd9
mov edx, dword [ebp - 5]
and edx, 0xff
and edx, 1
test edx, edx
je 0x48db67
mov eax, dword [ebp - 0x20]
mov byte [eax + 0xb], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 0
mov word [ebp - 0x2c], 1
jmp 0x48daf1
mov dx, word [ebp - 0x2c]
add dx, 1
mov word [ebp - 0x2c], dx
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
cmp eax, 0x64
jge 0x48db30
mov cx, word [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0048cebb
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.0048e552
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48db2e
jmp 0x48db30
jmp 0x48dae5
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
cmp eax, 0x64
jne 0x48db47
mov eax, 7
jmp 0x48ddd9
cmp dword [ebp - 0x1c], 4
je 0x48db55
mov eax, dword [ebp - 0x1c]
jmp 0x48ddd9
mov ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 5]
mov byte [ecx + 0xb], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 5]
and edx, 0xff
and edx, 2
test edx, edx
je 0x48dbbc
mov word [ebp - 0x14], 0
jmp 0x48db8b
mov ax, word [ebp - 0x14]
add ax, 1
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x14]
and ecx, 0xffff
mov edx, dword [ebp - 0x30]
xor eax, eax
mov ax, word [edx + ecx*2]
test eax, eax
je 0x48dba3
jmp 0x48db7f
mov eax, dword [ebp - 0x14]
and eax, 0xffff
add eax, 0x19
cdq
mov ecx, 0xd
idiv ecx
mov word [ebp - 0x14], ax
jmp 0x48dbc2
mov word [ebp - 0x14], 1
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0048de0e
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48dbe1
mov eax, dword [ebp - 0x1c]
jmp 0x48ddd9
mov word [ebp - 0x24], 0
mov ax, word [ebp - 0x24]
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0048d46e
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48dc12
jmp 0x48dc98
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov cl, byte [eax]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
cmp edx, 0xe5
je 0x48dc3a
mov eax, dword [ebp - 0x18]
and eax, 0xff
test eax, eax
jne 0x48dc77
mov ecx, dword [ebp - 0x2c]
and ecx, 0xffff
test ecx, ecx
jne 0x48dc52
mov edx, dword [ebp + 8]
mov ax, word [edx + 6]
mov word [ebp - 0x24], ax
mov cx, word [ebp - 0x2c]
add cx, 1
mov word [ebp - 0x2c], cx
mov edx, dword [ebp - 0x2c]
and edx, 0xffff
mov eax, dword [ebp - 0x14]
and eax, 0xffff
cmp edx, eax
jne 0x48dc75
jmp 0x48dc98
jmp 0x48dc7d
mov word [ebp - 0x2c], 0
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e01a
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48dbef
cmp dword [ebp - 0x1c], 0
jne 0x48dd67
mov edx, dword [ebp - 0x14]
and edx, 0xffff
cmp edx, 1
jle 0x48dd67
mov ax, word [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048de0e
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48dd67
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call fcn.0048e4fe
add esp, 4
mov byte [ebp - 4], al
mov cx, word [ebp - 0x14]
sub cx, 1
mov word [ebp - 0x14], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0048d46e
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48dd10
jmp 0x48dd67
mov al, byte [ebp - 4]
push eax
mov cl, byte [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0048e421
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov byte [ecx + 4], 1
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0048e01a
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48dd67
mov ax, word [ebp - 0x14]
sub ax, 1
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x14]
and ecx, 0xffff
test ecx, ecx
jne 0x48dcf0
cmp dword [ebp - 0x1c], 0
jne 0x48ddd6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0048d46e
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48ddd6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
push 0x20
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.0048dddd
add esp, 0xc
push 0xb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0048cff7
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
xor edx, edx
mov dl, byte [ecx + 0xb]
and edx, 0x18
mov eax, dword [ebp - 0x28]
mov byte [eax + 0xc], dl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov byte [edx + 4], 1
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret