Function at 0x49fe5f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov eax, ecx
mov ebx, edx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov edi, dword [eax]
mov ecx, dword [eax + 0x204]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
test byte [edi + 0x18], 1
mov dword [ebp - 0x10], edi
jne 0x49ff47
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp + 8]
shl edx, 6
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov ecx, dword [edx + eax + 0x28]
mov esi, dword [edx + eax + 0x18]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
inc ecx
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x30], ecx
je 0x49fec3
cmp dword [ebp + 0xc], 0
jne 0x49ff47
cmp word [eax], cx
jg 0x49ff47
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x49fed0
cmp dword [ebx + 0x48], 0
jne 0x49ff47
cmp dword [esi + 0x4c], 0
jne 0x49ff47
cmp dword [ebx + 0x44], 0
je 0x49fee0
test ecx, ecx
jne 0x49ff47
mov edi, dword [esi + 0x28]
xor edx, edx
cmp word [edi], dx
je 0x49ff47
test byte [esi + 6], 1
jne 0x49ff47
test ecx, ecx
je 0x49ff01
xor edi, edi
inc edi
cmp word [eax], di
jg 0x49ff47
cmp dword [ebp + 0xc], edx
jne 0x49ff47
mov ax, word [ebx + 6]
xor edi, edi
inc edi
and ax, di
mov edi, dword [ebp - 0x10]
je 0x49ff15
cmp dword [ebp + 0x10], edx
jne 0x49ff47
mov edx, dword [ebx + 0x38]
test edx, edx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 8]
je 0x49ff28
cmp dword [esi + 0x38], 0
jne 0x49ff47
cmp dword [ebp + 0xc], 0
je 0x49ff34
cmp dword [esi + 0x38], 0
jne 0x49ff47
test ecx, ecx
je 0x49ff4e
xor ecx, ecx
cmp dword [ebx + 0x2c], ecx
jne 0x49ff47
movzx ecx, ax
test ax, ax
je 0x49ff51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx ecx, ax
mov eax, dword [ebp - 0xc]
test byte [edx + eax + 0x24], 0x20
jne 0x49ff47
cmp dword [esi + 0x3c], 0
je 0x49ffe5
cmp dword [esi + 0x38], 0
jne 0x49ff47
cmp dword [ebp + 0xc], 0
jne 0x49ff47
test cx, cx
jne 0x49ff47
xor ecx, ecx
inc ecx
cmp word [eax], cx
jne 0x49ff47
mov ecx, esi
test byte [ecx + 6], 5
jne 0x49ff47
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x49ff96
cmp byte [ecx + 4], 0x71
jne 0x49ff47
mov eax, dword [ecx + 0x28]
xor edx, edx
inc edx
cmp word [eax], dx
mov edx, dword [ebp - 8]
jl 0x49ff47
mov eax, dword [esi]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x49ff47
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x49ff80
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x49ffe2
cmp dword [eax], ecx
jle 0x49ffe2
mov eax, dword [eax + 8]
add eax, 0xe
xor edi, edi
cmp word [eax], di
mov edi, dword [ebp - 0x10]
je 0x49ff47
mov ebx, dword [ebp - 0x28]
inc ecx
add eax, 0x14
cmp ecx, dword [ebx]
mov ebx, dword [ebp - 0x1c]
jl 0x49ffc6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + eax + 0xc]
mov dword [ecx + 0x204], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.0048ffaa
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x204], ecx
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4a0087
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x38]
xor eax, eax
mov esi, dword [ebx + 0x48]
mov edx, ebx
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x48], eax
call fcn.0048b1a6
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x48], esi
xor esi, esi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x28], ecx
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x44], esi
test eax, eax
jne 0x4a005c
mov eax, dword [ebp - 0x20]
jmp 0x4a0065
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x44], esi
mov edi, dword [ebp - 0x10]
mov dword [ebx + 0x3c], eax
cmp byte [edi + 0x36], 0
jne 0x4a037d
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x24], edx
test edx, edx
jne 0x4a001e
jmp 0x4a008a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + ecx + 0x18]
mov esi, edx
mov dword [ebp - 0x34], edx
mov edx, dword [eax + ecx + 8]
mov ecx, edi
mov dword [ebp - 0x24], esi
call fcn.00469176
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax + 0xc]
call fcn.00469176
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx + 0x10]
mov ecx, edi
call fcn.00469176
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + edx + 8], ecx
mov dword [eax + edx + 0xc], ecx
mov dword [eax + edx + 0x10], ecx
mov dword [eax + edx + 0x18], ecx
mov ecx, dword [eax + edx + 0x14]
test ecx, ecx
je 0x4a0129
movzx eax, word [ecx + 0x20]
cmp ax, word [ebp - 0x30]
jne 0x4a0119
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
mov eax, dword [eax + 0x1b0]
test eax, eax
cmovne ebx, eax
mov eax, ebx
mov eax, dword [eax + 0x224]
mov dword [ecx + 0x48], eax
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [eax + 0x224], ecx
jmp 0x4a011e
dec eax
mov word [ecx + 0x20], ax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [eax + edx + 0x14], ecx
jmp 0x4a012b
xor ecx, ecx
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x30], ecx
movsx edx, word [ecx]
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4a0153
mov edi, dword [ebp - 0xc]
mov al, byte [eax + edi + 0x24]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 1], al
jmp 0x4a0175
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, edi
call fcn.004931fe
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebx + 0x28], ecx
test ecx, ecx
je 0x4a0373
mov edx, dword [ebp - 0x14]
xor eax, eax
inc eax
cmp edx, eax
jle 0x4a01a5
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [edx - 1]
mov edx, ecx
push eax
mov ecx, edi
call fcn.0049310e
pop ecx
pop ecx
mov ecx, eax
mov dword [ebx + 0x28], ecx
cmp byte [edi + 0x36], 0
mov dword [ebp - 0x20], ecx
jne 0x4a0373
mov edx, dword [ebp - 0x14]
test edx, edx
jle 0x4a01fe
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x30]
add edi, 8
mov ebx, dword [ebp - 0x10]
add esi, 8
add edi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edi
mov edx, dword [edi + 0x28]
mov ecx, ebx
call fcn.00493093
push 0x10
pop ecx
push 0x40
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x28]
push eax
push esi
call fcn.005713c0
mov edi, dword [ebp - 0x2c]
add esi, 0x40
add edi, 0x40
mov dword [ebp - 0x28], esi
add esp, 0xc
mov dword [ebp - 0x2c], edi
sub dword [ebp - 0x14], 1
jne 0x4a01c0
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 1]
mov byte [eax + ecx + 0x24], dl
xor eax, eax
mov edi, dword [ebx]
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp dword [edi], eax
jle 0x4a0256
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov edx, dword [edi + 8]
cmp dword [edx + eax + 4], 0
jne 0x4a0243
mov edx, dword [edx + eax + 8]
test edx, edx
je 0x4a0243
mov ecx, esi
call fcn.00469467
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx + 4], eax
mov eax, edx
mov ecx, dword [ebp - 0x2c]
inc ecx
add eax, 0x14
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
cmp ecx, dword [edi]
jl 0x4a021b
mov edi, dword [ebx]
mov esi, dword [ebp - 0x24]
push dword [esi]
mov edx, edi
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0049fd7c
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x4a0293
push dword [esi]
mov edx, dword [ebx + 0x30]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0049fd7c
push dword [esi]
mov edx, dword [ebx + 0x34]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0049fcc9
add esp, 0x10
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4a02a4
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [esi + 0x38], eax
jmp 0x4a02bb
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x4a02b9
push dword [esi]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0049fd7c
pop ecx
pop ecx
xor eax, eax
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x4a02cd
push eax
push eax
mov ecx, edi
call fcn.0048acf5
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
mov ecx, edi
mov edx, dword [ebx + 0x2c]
mov dword [ebp - 0x2c], eax
je 0x4a0320
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x2c], eax
push dword [esi]
push dword [ebp - 0x18]
call fcn.0049fcc9
mov dword [ebx + 0x34], eax
mov ecx, edi
mov edx, dword [esi + 0x34]
xor eax, eax
push eax
push eax
call fcn.0048acf5
mov edx, dword [ebx + 0x34]
mov ecx, edi
push eax
call fcn.0048a916
add esp, 0x14
mov dword [ebx + 0x34], eax
mov edx, dword [esi + 0x30]
xor eax, eax
mov ecx, edi
push eax
call fcn.0048aeea
pop ecx
mov dword [ebx + 0x30], eax
jmp 0x4a033f
push dword [esi]
push dword [ebp - 0x18]
call fcn.0049fcc9
push dword [ebp - 0x2c]
mov edx, eax
mov dword [ebx + 0x2c], eax
mov ecx, edi
call fcn.0048a916
add esp, 0xc
mov dword [ebx + 0x2c], eax
mov ax, word [esi + 6]
xor ecx, ecx
inc ecx
and ax, cx
xor ecx, ecx
or word [ebx + 6], ax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4a035c
mov dword [ebx + 0x48], eax
mov dword [esi + 0x48], ecx
mov ebx, dword [ebx + 0x3c]
mov esi, dword [esi + 0x3c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x4a012b
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.0049cf62
xor eax, eax
inc eax
jmp 0x49ff49