Function at 0x4d3dc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [0x514bc0]
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 0x4d3f54
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 0x4d3e09
lea ecx, [edi + 0x649380]
call fcn.00442a00
mov edx, dword [edi + 0x64b420]
push ebx
push edx
mov ecx, edi
mov dword [edi + 0x64b430], ebx
call fcn.004cd9e0
cmp dword [edi + 0x649384], 0xffffffff
mov esi, eax
jne 0x4d3ebe
mov eax, dword [edi + 0x649380]
mov edx, dword [eax + 4]
lea ecx, [edi + 0x649380]
push 0
push esi
call edx
test al, al
jne 0x4d3ebe
cmp dword [edi + 0x64b3e8], 0
jne 0x4d3e62
push esi
mov ecx, 0x52c138
call fcn.0043e1b0
push 0x12
mov ecx, edi
call fcn.004cf5c0
push ebx
mov ecx, edi
call fcn.004ce110
cmp eax, 9
je 0x4d3f3a
mov ecx, dword [edi + 0x648350]
cmp ecx, 1
je 0x4d3e83
cmp ecx, 2
jne 0x4d3e8c
cmp eax, 3
je 0x4d3f20
push esi
call fcn.004e3342
mov eax, dword [edi + 0x64b420]
add esp, 4
push ebx
push eax
mov ecx, edi
call fcn.004cd9e0
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 0x4d3e45
test esi, esi
je 0x4d3ecb
push esi
call fcn.004e3342
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 0x4d3f54
push 0x506848
lea esi, [edi + 0x649380]
push esi
mov ecx, edi
call fcn.004d2b80
test eax, eax
jne 0x4d3f54
mov ecx, esi
call fcn.00442a00
mov eax, dword [edi + 0x64b3fc]
push eax
mov ecx, 0x52c138
call fcn.0043dc80
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
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.004e34f4
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 0x4d3f9d
cmp dword [edi + 0x648350], 2
je 0x4d3f83
mov ecx, ebx
call fcn.00442a00
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
add esp, 0x28
ret 4
push 0x68
call fcn.004e3b96
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d3fd7
cmp dword [edi + 0x648350], 2
je 0x4d3fbd
mov ecx, ebx
call fcn.00442a00
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
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 0x4d4109
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 0x4d411a
mov eax, edx
or word [esi + 0x2e], ax
cmp dword [edi + 0x648350], 2
jne 0x4d4173
movzx eax, word [esi + 2]
movzx ecx, al
and eax, 0xff00
cmp eax, 0x2800
jbe 0x4d4162
mov edi, dword [edi + 0x64b3fc]
push edi
push edi
mov ecx, 0x52c138
call fcn.0043dd20
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
add esp, 0x28
ret 4
cmp cx, 0x64
ja 0x4d4136
mov ecx, 0xc8
cmp word [esi + 6], cx
ja 0x4d4136
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.004e3b96
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x4d3fbd
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4d41b7
movzx eax, ax
push eax
call fcn.004e3b96
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
je 0x4d3fbd
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 0x4d3f83
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4d41fb
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 0x4d3f83
movzx edx, word [esi + 0x20]
mov eax, dword [esi + 0x48]
push esi
mov ecx, edi
mov byte [edx + eax], 0
call fcn.004d1e80
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 0x4d425c
mov eax, dword [esi + 0x48]
push eax
mov dword [esi + 0x4c], eax
call fcn.004cd770
xor ebx, ebx
cmp eax, ebx
jne 0x4d4257
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.004f442f
add esp, 4
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x4d4264
jmp 0x4d3fbd
mov dword [esi + 0x48], eax
jmp 0x4d4264
push esi
call fcn.004d1bb0
xor ebx, ebx
mov edx, 0xff00
test word [ebp], dx
jne 0x4d427f
cmp dword [esi + 0x4c], ebx
jne 0x4d427f
mov eax, dword [esi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [edi + 0x648350], 2
jne 0x4d42bb
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 0x4d42d3
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 0x4d42e4
push eax
mov ecx, edi
call fcn.004d72e0
jmp 0x4d42ef
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, edi
call fcn.004d7230
mov dword [ebp + 0x54], eax
cmp dword [edi + 0x648350], 3
jne 0x4d4355
mov eax, dword [ebp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d4301
sub eax, edx
mov word [ebp + 0x20], ax
mov edx, dword [esi + 0x48]
push edx
mov word [esi + 0x20], ax
call fcn.004e3342
mov eax, dword [ebp + 0x48]
push eax
call fcn.004f442f
add esp, 8
mov dword [esi + 0x48], eax
cmp eax, ebx
je 0x4d3fbd
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.004e3342
mov eax, dword [ebp + 0x4c]
add esp, 4
cmp eax, ebx
jne 0x4d4349
xor eax, eax
jmp 0x4d4352
push eax
call fcn.004f442f
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 0x4d439f
movzx eax, word [ebp + 4]
test al, 1
jne 0x4d439f
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 0x4d43b7
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 0x4d43f7
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
jmp 0x4d43fd
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
push 0
push esi
mov ecx, edi
call fcn.004d2bd0
test eax, eax
je 0x4d4425
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
add esp, 0x28
ret 4
cmp dword [edi + 0x648350], ebx
mov bl, 8
jne 0x4d443a
test byte [esi + 0x2e], bl
je 0x4d443a
push 0xffffffffffffffff
push 0xfffffffffffffffe
jmp 0x4d4442
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
mov ecx, edi
call fcn.004ce630
mov dword [esp + 0x10], eax
cmp eax, 9
jne 0x4d44a0
cmp word [esi + 0x22], 0
je 0x4d4465
mov ecx, dword [esi + 0x3c]
push ecx
call fcn.004e3342
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d4478
mov edx, dword [esi + 0x48]
push edx
call fcn.004e3342
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d4488
push eax
call fcn.004e3342
add esp, 4
push esi
call fcn.004e3342
add esp, 4
push 9
mov ecx, edi
call fcn.004cf5c0
mov eax, dword [esp + 0x10]
jmp 0x4d44a9
cmp eax, 2
je 0x4d46df
cmp dword [edi + 0x64b3c8], 0
jne 0x4d46df
cmp dword [edi + 0x648350], 2
jne 0x4d44fe
test byte [ebp + 4], bl
je 0x4d450b
cmp dword [edi + 0x64b3cc], 0
je 0x4d460d
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 0x4d450b
push esi
mov ecx, edi
call fcn.004d3020
cmp dword [edi + 0x64b490], 1
jne 0x4d4547
mov eax, dword [edi + 0x64b440]
cmp eax, dword [edi + 0x64b444]
je 0x4d4547
mov ecx, dword [edi + 0x64b478]
push ecx
lea edx, [edi + 0x64a3a4]
push edx
push eax
mov ecx, edi
call fcn.004cdc50
mov eax, dword [edi + 0x64b478]
push eax
call fcn.004e3342
add esp, 4
cmp dword [edi + 0x648350], 2
jne 0x4d4666
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 0x4d45ed
movzx eax, ax
inc eax
push eax
call fcn.004e3b96
add esp, 4
mov dword [ebp + 0x40], eax
test eax, eax
je 0x4d3fbd
mov ecx, dword [esi + 0x3c]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4d45e3
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 0x4d46a5
cmp word [esi + 0x22], 0
je 0x4d4620
mov edx, dword [esi + 0x3c]
push edx
call fcn.004e3342
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d4633
mov eax, dword [esi + 0x48]
push eax
call fcn.004e3342
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d4643
push eax
call fcn.004e3342
add esp, 4
push esi
call fcn.004e3342
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
add esp, 0x28
ret 4
cmp word [esi + 0x22], 0
je 0x4d4679
mov edx, dword [esi + 0x3c]
push edx
call fcn.004e3342
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d468c
mov eax, dword [esi + 0x48]
push eax
call fcn.004e3342
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d469c
push eax
call fcn.004e3342
add esp, 4
push esi
call fcn.004e3342
add esp, 4
cmp dword [edi + 0x648350], 2
jne 0x4d46c6
cmp dword [esp + 0x10], 0xb
jne 0x4d46c6
mov ecx, dword [edi + 0x64b3fc]
push ecx
mov ecx, 0x52c138
call fcn.0043dc80
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004e34f4
add esp, 0x28
ret 4
test eax, eax
jne 0x4d46eb
mov dword [esp + 0x10], 3
cmp dword [edi + 0x648350], 2
jne 0x4d4743
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 0x4d4756
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e3342
add esp, 4
cmp word [esi + 0x20], 0
je 0x4d4769
mov ecx, dword [esi + 0x48]
push ecx
call fcn.004e3342
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4d4779
push eax
call fcn.004e3342
add esp, 4
push esi
call fcn.004e3342
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.004e34f4
add esp, 0x28
ret 4