Function at 0x4cfee0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x648350], 2
je 0x4d0074
mov ebx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp ebx, dword [edi + 0x64b430]
je 0x4cff29
lea ecx, [edi + 0x649380]
call fcn.00442080
mov edx, dword [edi + 0x64b420]
push ebx
push edx
mov ecx, edi
mov dword [edi + 0x64b430], ebx
call fcn.004c9bb0
cmp dword [edi + 0x649384], 0xffffffff
mov esi, eax
jne 0x4cffde
mov eax, dword [edi + 0x649380]
mov edx, dword [eax + 4]
lea ecx, [edi + 0x649380]
push 0
push esi
call edx
test al, al
jne 0x4cffde
cmp dword [edi + 0x64b3e8], 0
jne 0x4cff82
push esi
mov ecx, 0x5275b8
call fcn.0043d970
push 0x12
mov ecx, edi
call fcn.004cb750
push ebx
mov ecx, edi
call fcn.004ca650
cmp eax, 9
je 0x4d005a
mov ecx, dword [edi + 0x648350]
cmp ecx, 1
je 0x4cffa3
cmp ecx, 2
jne 0x4cffac
cmp eax, 3
je 0x4d0040
push esi
call fcn.004df10f
mov eax, dword [edi + 0x64b420]
add esp, 4
push ebx
push eax
mov ecx, edi
call fcn.004c9bb0
mov edx, dword [edi + 0x649380]
lea ecx, [edi + 0x649380]
mov esi, eax
mov eax, dword [edx + 4]
push 0
push esi
call eax
test al, al
je 0x4cff65
test esi, esi
je 0x4cffeb
push esi
call fcn.004df10f
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x649380]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [edi + 0x649380]
push eax
mov eax, dword [esp + 0x18]
push eax
call edx
cmp dword [edi + 0x648350], 2
je 0x4d0074
push 0x502298
lea esi, [edi + 0x649380]
push esi
mov ecx, edi
call fcn.004cec90
test eax, eax
jne 0x4d0074
mov ecx, esi
call fcn.00442080
mov eax, dword [edi + 0x64b3fc]
push eax
mov ecx, 0x5275b8
call fcn.0043d440
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
mov edx, dword [edi + 0x649380]
mov edx, dword [edx + 8]
lea ebx, [edi + 0x649380]
push 0x1a
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call edx
cmp eax, 0x1a
je 0x4d00bd
cmp dword [edi + 0x648350], 2
je 0x4d00a3
mov ecx, ebx
call fcn.00442080
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
push 0x68
call fcn.004df966
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d00f7
cmp dword [edi + 0x648350], 2
je 0x4d00dd
mov ecx, ebx
call fcn.00442080
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
movzx eax, byte [esp + 0x19]
movzx ecx, byte [esp + 0x18]
shl ax, 8
or ax, cx
mov word [esi + 2], ax
movzx edx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
shl dx, 8
or dx, ax
mov word [esi + 0x2e], dx
movzx ecx, byte [esp + 0x1d]
movzx edx, byte [esp + 0x1c]
shl cx, 8
or cx, dx
mov word [esi + 6], cx
movzx eax, byte [esp + 0x21]
movzx edx, byte [esp + 0x20]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x1f]
or ecx, edx
shl ecx, 0x10
shl ax, 8
movzx edx, ax
movzx eax, byte [esp + 0x1e]
or ecx, edx
or ecx, eax
mov dword [esi + 8], ecx
movzx ecx, byte [esp + 0x25]
movzx eax, byte [esp + 0x24]
shl cx, 8
movzx edx, cx
movzx ecx, byte [esp + 0x23]
or edx, eax
shl cx, 8
movzx eax, cx
movzx ecx, byte [esp + 0x22]
shl edx, 0x10
or edx, eax
or edx, ecx
mov dword [esi + 0xc], edx
movzx edx, byte [esp + 0x2f]
movzx eax, byte [esp + 0x2e]
shl dx, 8
or dx, ax
mov word [esi + 0x20], dx
movzx ecx, byte [esp + 0x31]
movzx edx, byte [esp + 0x30]
shl cx, 8
or cx, dx
mov word [esi + 0x22], cx
cmp dword [edi + 0x648350], 2
jne 0x4d0229
movzx eax, byte [esp + 0x29]
movzx edx, byte [esp + 0x28]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x27]
or ecx, edx
shl ecx, 0x10
shl ax, 8
movzx edx, ax
movzx eax, byte [esp + 0x26]
or ecx, edx
or ecx, eax
mov dword [esi + 0x10], ecx
xor eax, eax
mov dword [esi + 0x14], eax
movzx ecx, byte [esp + 0x2d]
shl cx, 8
movzx edx, cx
movzx ecx, byte [esp + 0x2c]
or edx, ecx
movzx ecx, byte [esp + 0x2b]
shl cx, 8
movzx ecx, cx
shl edx, 0x10
or edx, ecx
movzx ecx, byte [esp + 0x2a]
or edx, ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov edx, 0x800
test word [ebp + 4], dx
je 0x4d023a
mov eax, edx
or word [esi + 0x2e], ax
cmp dword [edi + 0x648350], 2
jne 0x4d0293
movzx eax, word [esi + 2]
movzx ecx, al
and eax, 0xff00
cmp eax, 0x2800
jbe 0x4d0282
mov edi, dword [edi + 0x64b3fc]
push edi
push edi
mov ecx, 0x5275b8
call fcn.0043d4e0
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
cmp cx, 0x64
ja 0x4d0256
mov ecx, 0xc8
cmp word [esi + 6], cx
ja 0x4d0256
movzx edx, word [esi + 0x20]
xor eax, eax
inc edx
push edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.004df966
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x4d00dd
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4d02d7
movzx eax, ax
push eax
call fcn.004df966
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
je 0x4d00dd
movzx eax, word [esi + 0x20]
mov ecx, dword [esi + 0x48]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
push ecx
mov ecx, ebx
call edx
movzx ecx, word [esi + 0x20]
cmp eax, ecx
jne 0x4d00a3
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4d031b
mov ecx, dword [esi + 0x3c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
movzx eax, ax
push eax
push ecx
mov ecx, ebx
call edx
movzx ecx, word [esi + 0x22]
cmp eax, ecx
jne 0x4d00a3
movzx edx, word [esi + 0x20]
mov eax, dword [esi + 0x48]
push esi
mov ecx, edi
mov byte [edx + eax], 0
call fcn.004cdf90
mov dword [edi + 0x64b3f4], eax
xor ecx, ecx
mov word [esi], cx
mov dx, word [ebp]
mov eax, 0x800
mov word [esi], dx
mov ecx, edi
test word [esi + 0x2e], ax
je 0x4d037c
mov eax, dword [esi + 0x48]
push eax
mov dword [esi + 0x4c], eax
call fcn.004c9960
xor ebx, ebx
cmp eax, ebx
jne 0x4d0377
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.004f02cf
add esp, 4
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x4d0384
jmp 0x4d00dd
mov dword [esi + 0x48], eax
jmp 0x4d0384
push esi
call fcn.004cdcc0
xor ebx, ebx
mov edx, 0xff00
test word [ebp], dx
jne 0x4d039f
cmp dword [esi + 0x4c], ebx
jne 0x4d039f
mov eax, dword [esi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [edi + 0x648350], 2
jne 0x4d03db
mov ax, word [esi + 0x2e]
mov word [esi + 4], ax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [ebp + 0x50], ebx
mov cx, word [esi + 0x2e]
mov word [ebp + 4], cx
mov edx, dword [esi + 0x18]
mov dword [ebp + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp + 0x14], edx
jmp 0x4d03f3
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x4d0404
push eax
mov ecx, edi
call fcn.004d3400
jmp 0x4d040f
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, edi
call fcn.004d3350
mov dword [ebp + 0x54], eax
cmp dword [edi + 0x648350], 3
jne 0x4d0475
mov eax, dword [ebp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d0421
sub eax, edx
mov word [ebp + 0x20], ax
mov edx, dword [esi + 0x48]
push edx
mov word [esi + 0x20], ax
call fcn.004df10f
mov eax, dword [ebp + 0x48]
push eax
call fcn.004f02cf
add esp, 8
mov dword [esi + 0x48], eax
cmp eax, ebx
je 0x4d00dd
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.004df10f
mov eax, dword [ebp + 0x4c]
add esp, 4
cmp eax, ebx
jne 0x4d0469
xor eax, eax
jmp 0x4d0472
push eax
call fcn.004f02cf
add esp, 4
mov dword [esi + 0x4c], eax
mov edx, dword [edi + 0x64b444]
mov dword [ebp + 0x28], edx
mov eax, dword [edi + 0x64b488]
mov dword [ebp + 0x30], eax
mov ecx, dword [edi + 0x64b48c]
mov dword [ebp + 0x34], ecx
cmp dword [edi + 0x648350], 2
je 0x4d04bf
movzx eax, word [ebp + 4]
test al, 1
jne 0x4d04bf
and eax, 0xfff7
mov word [ebp + 4], ax
mov edx, 0xfff7
and word [esi + 0x2e], dx
mov word [esi + 4], ax
movzx eax, word [esi + 0x2e]
mov word [ebp + 0x2e], ax
xor eax, eax
test byte [ebp + 0x2e], 8
je 0x4d04d7
cmp dword [edi + 0x64b3f4], ebx
setne al
lea eax, [eax*8 + 0x10]
movzx edx, word [esi + 0x20]
movzx ecx, word [esi + 0x22]
lea ecx, [ecx + edx + 0x1a]
xor edx, edx
xor ebx, ebx
add ecx, eax
adc edx, ebx
add ecx, dword [ebp + 0x10]
adc edx, dword [ebp + 0x14]
add ecx, 4
adc edx, ebx
add dword [edi + 0x64b418], ecx
mov ebx, 2
adc dword [edi + 0x64b41c], edx
cmp dword [edi + 0x648350], ebx
jne 0x4d0517
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
jmp 0x4d051d
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
push 0
push esi
mov ecx, edi
call fcn.004cecf0
test eax, eax
je 0x4d0545
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
cmp dword [edi + 0x648350], ebx
mov bl, 8
jne 0x4d055a
test byte [esi + 0x2e], bl
je 0x4d055a
push 0xffffffffffffffff
push 0xfffffffffffffffe
jmp 0x4d0562
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
mov ecx, edi
call fcn.004ca7c0
mov dword [esp + 0x10], eax
cmp eax, 9
jne 0x4d05c0
cmp word [esi + 0x22], 0
je 0x4d0585
mov ecx, dword [esi + 0x3c]
push ecx
call fcn.004df10f
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d0598
mov edx, dword [esi + 0x48]
push edx
call fcn.004df10f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d05a8
push eax
call fcn.004df10f
add esp, 4
push esi
call fcn.004df10f
add esp, 4
push 9
mov ecx, edi
call fcn.004cb750
mov eax, dword [esp + 0x10]
jmp 0x4d05c9
cmp eax, 2
je 0x4d07ff
cmp dword [edi + 0x64b3c8], 0
jne 0x4d07ff
cmp dword [edi + 0x648350], 2
jne 0x4d061e
test byte [ebp + 4], bl
je 0x4d062b
cmp dword [edi + 0x64b3cc], 0
je 0x4d072d
mov eax, dword [edi + 0x64b3d0]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x64b3d8]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x64b3dc]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x64b3e0]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x64b3e4]
mov dword [esi + 0x1c], ecx
test byte [ebp + 4], bl
je 0x4d062b
push esi
mov ecx, edi
call fcn.004cf140
cmp dword [edi + 0x64b490], 1
jne 0x4d0667
mov eax, dword [edi + 0x64b440]
cmp eax, dword [edi + 0x64b444]
je 0x4d0667
mov ecx, dword [edi + 0x64b478]
push ecx
lea edx, [edi + 0x64a3a4]
push edx
push eax
mov ecx, edi
call fcn.004c9e20
mov eax, dword [edi + 0x64b478]
push eax
call fcn.004df10f
add esp, 4
cmp dword [edi + 0x648350], 2
jne 0x4d0786
mov cx, word [esi + 2]
mov word [ebp + 2], cx
movzx edx, word [esi + 6]
mov word [ebp + 6], dx
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], ecx
movzx edx, word [esi + 0x2e]
mov word [ebp + 0x2e], dx
movzx eax, word [esi + 0x2e]
mov word [ebp + 4], ax
mov ecx, dword [esi + 0x18]
mov dword [ebp + 0x18], ecx
mov edx, dword [esi + 0x1c]
mov dword [ebp + 0x1c], edx
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0x14], ecx
movzx edx, word [esi + 0x20]
mov word [ebp + 0x20], dx
movzx eax, word [esi + 0x22]
mov word [ebp + 0x22], ax
mov ecx, dword [esi + 0x3c]
mov dword [ebp + 0x3c], ecx
movzx edx, word [esi + 0x22]
mov word [ebp + 0x24], dx
mov dword [ebp + 0x40], 0
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4d070d
movzx eax, ax
inc eax
push eax
call fcn.004df966
add esp, 4
mov dword [ebp + 0x40], eax
test eax, eax
je 0x4d00dd
mov ecx, dword [esi + 0x3c]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4d0703
xor ecx, ecx
xor edx, edx
mov word [ebp + 0x26], cx
mov word [ebp + 0x2c], dx
mov dword [ebp + 0x38], edx
mov eax, dword [esi + 0x48]
mov dword [ebp + 0x48], eax
mov ecx, dword [esi + 0x4c]
mov dword [ebp + 0x4c], ecx
jmp 0x4d07c5
cmp word [esi + 0x22], 0
je 0x4d0740
mov edx, dword [esi + 0x3c]
push edx
call fcn.004df10f
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d0753
mov eax, dword [esi + 0x48]
push eax
call fcn.004df10f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d0763
push eax
call fcn.004df10f
add esp, 4
push esi
call fcn.004df10f
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
cmp word [esi + 0x22], 0
je 0x4d0799
mov edx, dword [esi + 0x3c]
push edx
call fcn.004df10f
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d07ac
mov eax, dword [esi + 0x48]
push eax
call fcn.004df10f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d07bc
push eax
call fcn.004df10f
add esp, 4
push esi
call fcn.004df10f
add esp, 4
cmp dword [edi + 0x648350], 2
jne 0x4d07e6
cmp dword [esp + 0x10], 0xb
jne 0x4d07e6
mov ecx, dword [edi + 0x64b3fc]
push ecx
mov ecx, 0x5275b8
call fcn.0043d440
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4
test eax, eax
jne 0x4d080b
mov dword [esp + 0x10], 3
cmp dword [edi + 0x648350], 2
jne 0x4d0863
mov eax, dword [edi + 0x64b484]
mov edx, dword [edi + 0x64835c]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [edi + 0x64835c]
push eax
mov eax, dword [edi + 0x64b480]
push eax
mov dword [edi + 0x64b3c8], 0
call edx
mov eax, dword [edi + 0x64b480]
mov ecx, dword [edi + 0x64b484]
mov dword [edi + 0x64b488], eax
mov dword [edi + 0x64b48c], ecx
mov dword [edi + 0x64b418], eax
mov dword [edi + 0x64b41c], ecx
cmp word [esi + 0x22], 0
je 0x4d0876
mov eax, dword [esi + 0x3c]
push eax
call fcn.004df10f
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d0889
mov ecx, dword [esi + 0x48]
push ecx
call fcn.004df10f
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d0899
push eax
call fcn.004df10f
add esp, 4
push esi
call fcn.004df10f
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x28
ret 4