Function at 0x4e9420
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x648350], 2
je 0x4e95a9
mov eax, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x10], eax
cmp ebp, dword [edi + 0x64b430]
je 0x4e9469
lea ecx, [edi + 0x649380]
call fcn.00467b10
push ebp
push dword [edi + 0x64b420]
mov ecx, edi
mov dword [edi + 0x64b430], ebp
call fcn.004e1800
cmp dword [edi + 0x649384], 0xffffffff
mov esi, eax
jne 0x4e9518
mov edx, dword [edi + 0x649380]
lea ecx, [edi + 0x649380]
push 0
push esi
mov edx, dword [edx + 4]
call edx
test al, al
jne 0x4e9518
cmp dword [edi + 0x64b3e8], 0
jne 0x4e94c1
push esi
mov ecx, 0x56df60
call fcn.00462f70
push 0x12
mov ecx, edi
call fcn.004e2f40
push ebp
mov ecx, edi
call fcn.004e0390
cmp eax, 9
je 0x4e958f
mov ecx, dword [edi + 0x648350]
cmp ecx, 1
je 0x4e94e2
cmp ecx, 2
jne 0x4e94eb
cmp eax, 3
je 0x4e9575
push esi
call fcn.004f252e
add esp, 4
mov ecx, edi
push ebp
push dword [edi + 0x64b420]
call fcn.004e1800
mov esi, eax
lea ecx, [edi + 0x649380]
mov eax, dword [ecx]
push 0
push esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x4e94a4
test esi, esi
je 0x4e9525
push esi
call fcn.004f252e
add esp, 4
mov eax, dword [edi + 0x649380]
lea ecx, [edi + 0x649380]
push 0
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [eax + 0xc]
cmp dword [edi + 0x648350], 2
je 0x4e95a9
push 0x515030
lea esi, [edi + 0x649380]
mov ecx, edi
push esi
call fcn.004e5bd0
test eax, eax
jne 0x4e95a9
mov ecx, esi
call fcn.00467b10
push dword [edi + 0x64b3fc]
mov ecx, 0x56df60
call fcn.00462a70
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
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.004ebbd8
add esp, 0x28
ret 4
mov eax, dword [edi + 0x649380]
lea ebp, [edi + 0x649380]
push 0x1a
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call dword [eax + 8]
cmp eax, 0x1a
je 0x4e95f0
cmp dword [edi + 0x648350], 2
je 0x4e95d6
mov ecx, ebp
call fcn.00467b10
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4
push 0x68
call fcn.004f2e54
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e962a
cmp dword [edi + 0x648350], 2
je 0x4e9610
mov ecx, ebp
call fcn.00467b10
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4
movzx ecx, byte [esp + 0x19]
movzx eax, byte [esp + 0x18]
shl cx, 8
or cx, ax
mov word [esi + 2], cx
movzx ecx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
shl cx, 8
or cx, ax
mov word [esi + 0x2e], cx
movzx ecx, byte [esp + 0x1d]
movzx eax, byte [esp + 0x1c]
shl cx, 8
or cx, ax
mov word [esi + 6], cx
movzx eax, byte [esp + 0x21]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x20]
or ecx, eax
movzx eax, byte [esp + 0x1f]
shl ecx, 0x10
shl ax, 8
movzx eax, ax
or ecx, eax
movzx eax, byte [esp + 0x1e]
or ecx, eax
mov dword [esi + 8], ecx
movzx eax, byte [esp + 0x25]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x24]
or ecx, eax
movzx eax, byte [esp + 0x23]
shl ecx, 0x10
shl ax, 8
movzx eax, ax
or ecx, eax
movzx eax, byte [esp + 0x22]
or ecx, eax
mov dword [esi + 0xc], ecx
movzx ecx, byte [esp + 0x2f]
movzx eax, byte [esp + 0x2e]
shl cx, 8
or cx, ax
mov word [esi + 0x20], cx
movzx ecx, byte [esp + 0x31]
movzx eax, byte [esp + 0x30]
shl cx, 8
or cx, ax
mov word [esi + 0x22], cx
cmp dword [edi + 0x648350], 2
jne 0x4e9762
movzx eax, byte [esp + 0x29]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x28]
or ecx, eax
movzx eax, byte [esp + 0x27]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [esp + 0x26]
or ecx, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], ecx
movzx eax, byte [esp + 0x2d]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x2c]
or ecx, eax
movzx eax, byte [esp + 0x2b]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [esp + 0x2a]
or ecx, eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], ecx
mov eax, 0x800
test word [ebx + 4], ax
je 0x4e9771
or word [esi + 0x2e], ax
cmp dword [edi + 0x648350], 2
jne 0x4e97c9
movzx eax, word [esi + 2]
movzx ecx, al
and eax, 0xff00
cmp eax, 0x2800
jbe 0x4e97b9
mov eax, dword [edi + 0x64b3fc]
mov ecx, 0x56df60
push eax
push eax
call fcn.00463400
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4
cmp ecx, 0x64
ja 0x4e978d
mov eax, 0xc8
cmp word [esi + 6], ax
ja 0x4e978d
movzx eax, word [esi + 0x20]
inc eax
mov dword [esi + 0x3c], 0
push eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.004f2e54
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x4e9610
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4e9814
push eax
call fcn.004f2e54
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
je 0x4e9610
movzx eax, word [esi + 0x20]
mov ecx, ebp
mov edx, dword [ebp]
push eax
push dword [esi + 0x48]
call dword [edx + 8]
movzx ecx, word [esi + 0x20]
cmp eax, ecx
jne 0x4e95d6
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4e9851
mov edx, dword [ebp]
mov ecx, ebp
push eax
push dword [esi + 0x3c]
call dword [edx + 8]
movzx ecx, word [esi + 0x22]
cmp eax, ecx
jne 0x4e95d6
movzx ecx, word [esi + 0x20]
mov eax, dword [esi + 0x48]
push esi
mov byte [ecx + eax], 0
mov ecx, edi
call fcn.004e5860
mov dword [edi + 0x64b3f4], eax
mov ecx, edi
xor eax, eax
mov word [esi], ax
mov ax, word [ebx]
mov word [esi], ax
mov eax, 0x800
test word [esi + 0x2e], ax
je 0x4e98ae
mov eax, dword [esi + 0x48]
push eax
mov dword [esi + 0x4c], eax
call fcn.004e1f90
test eax, eax
jne 0x4e98a9
push dword [esi + 0x4c]
call fcn.004f8cee
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
jne 0x4e98b4
jmp 0x4e9610
mov dword [esi + 0x48], eax
jmp 0x4e98b4
push esi
call fcn.004e6f20
mov eax, 0xff00
test word [ebx], ax
jne 0x4e98c9
mov eax, dword [esi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [edi + 0x648350], 2
jne 0x4e9911
movzx eax, word [esi + 0x2e]
mov word [esi + 4], ax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [ebx + 0x50], 0
movzx eax, word [esi + 0x2e]
mov word [ebx + 4], ax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
jmp 0x4e9929
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x4c]
mov ecx, edi
test eax, eax
je 0x4e993a
push eax
call fcn.004eb040
jmp 0x4e9942
push dword [esi + 0x48]
call fcn.004eae10
mov dword [ebx + 0x54], eax
cmp dword [edi + 0x648350], 3
jne 0x4e99a1
mov ecx, dword [ebx + 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e9954
sub ecx, edx
mov word [ebx + 0x20], cx
push dword [esi + 0x48]
mov word [esi + 0x20], cx
call fcn.004f252e
push dword [ebx + 0x48]
call fcn.004f8cee
add esp, 8
mov dword [esi + 0x48], eax
test eax, eax
je 0x4e9610
push dword [esi + 0x4c]
call fcn.004f252e
mov eax, dword [ebx + 0x4c]
add esp, 4
test eax, eax
je 0x4e999e
push eax
call fcn.004f8cee
add esp, 4
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x64b444]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x64b488]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x64b48c]
mov dword [ebx + 0x34], eax
cmp dword [edi + 0x648350], 2
je 0x4e99e7
movzx eax, word [ebx + 4]
test al, 1
jne 0x4e99e7
and eax, 0xfffffff7
mov word [ebx + 4], ax
mov word [esi + 4], ax
movzx eax, word [esi + 0x2e]
and eax, 0xfffffff7
mov word [esi + 0x2e], ax
mov word [ebx + 0x2e], ax
xor edx, edx
test byte [ebx + 0x2e], 8
je 0x4e99ff
cmp dword [edi + 0x64b3f4], edx
setne dl
lea edx, [edx*8 + 0x10]
movzx eax, word [esi + 0x20]
movzx ecx, word [esi + 0x22]
add eax, 0x1a
add ecx, eax
xor eax, eax
add ecx, edx
adc eax, eax
add ecx, dword [ebx + 0x10]
adc eax, dword [ebx + 0x14]
add ecx, 4
adc eax, 0
add dword [edi + 0x64b418], ecx
adc dword [edi + 0x64b41c], eax
cmp dword [edi + 0x648350], 2
jne 0x4e9a3b
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
jmp 0x4e9a41
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
push 0
push esi
mov ecx, edi
call fcn.004e69b0
test eax, eax
je 0x4e9a69
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4
cmp dword [edi + 0x648350], 2
jne 0x4e9a7e
test byte [esi + 0x2e], 8
je 0x4e9a7e
push 0xffffffffffffffff
push 0xfffffffffffffffe
jmp 0x4e9a84
push dword [esi + 0x14]
push dword [esi + 0x10]
mov ecx, edi
call fcn.004e0940
mov ebp, eax
cmp ebp, 9
jne 0x4e9ada
cmp word [esi + 0x22], 0
je 0x4e9aa4
push dword [esi + 0x3c]
call fcn.004f252e
add esp, 4
cmp word [esi + 0x20], 0
je 0x4e9ab6
push dword [esi + 0x48]
call fcn.004f252e
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4e9ac6
push eax
call fcn.004f252e
add esp, 4
push esi
call fcn.004f252e
add esp, 4
mov ecx, edi
push 9
call fcn.004e2f40
jmp 0x4e9ae3
cmp ebp, 2
je 0x4e9d1a
cmp dword [edi + 0x64b3c8], 0
jne 0x4e9d1a
cmp dword [edi + 0x648350], 2
jne 0x4e9b39
test byte [ebx + 4], 8
je 0x4e9b47
cmp dword [edi + 0x64b3cc], 0
je 0x4e9c51
mov eax, dword [edi + 0x64b3d0]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x64b3d8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x64b3dc]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x64b3e0]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x64b3e4]
mov dword [esi + 0x1c], eax
test byte [ebx + 4], 8
je 0x4e9b47
push esi
mov ecx, edi
call fcn.004e68a0
cmp dword [edi + 0x64b490], 1
jne 0x4e9b81
mov ecx, dword [edi + 0x64b440]
cmp ecx, dword [edi + 0x64b444]
je 0x4e9b81
push dword [edi + 0x64b478]
lea eax, [edi + 0x64a3a4]
push eax
push ecx
mov ecx, edi
call fcn.004e1610
push dword [edi + 0x64b478]
call fcn.004f252e
add esp, 4
cmp dword [edi + 0x648350], 2
jne 0x4e9ca8
movzx eax, word [esi + 2]
mov word [ebx + 2], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
movzx eax, word [esi + 0x2e]
mov word [ebx + 0x2e], ax
movzx eax, word [esi + 0x2e]
mov word [ebx + 4], ax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x20], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x22], ax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov dword [ebx + 0x40], 0
movzx eax, word [esi + 0x22]
test ax, ax
je 0x4e9c33
inc eax
push eax
call fcn.004f2e54
mov ecx, eax
add esp, 4
mov dword [ebx + 0x40], ecx
test ecx, ecx
je 0x4e9610
movzx eax, word [esi + 0x22]
push eax
push dword [esi + 0x3c]
push ecx
call fcn.004edb80
movzx ecx, word [esi + 0x22]
add esp, 0xc
mov eax, dword [ebx + 0x40]
mov byte [ecx + eax], 0
xor eax, eax
mov word [ebx + 0x26], ax
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
jmp 0x4e9ce5
cmp word [esi + 0x22], 0
je 0x4e9c63
push dword [esi + 0x3c]
call fcn.004f252e
add esp, 4
cmp word [esi + 0x20], 0
je 0x4e9c75
push dword [esi + 0x48]
call fcn.004f252e
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4e9c85
push eax
call fcn.004f252e
add esp, 4
push esi
call fcn.004f252e
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4
cmp word [esi + 0x22], 0
je 0x4e9cba
push dword [esi + 0x3c]
call fcn.004f252e
add esp, 4
cmp word [esi + 0x20], 0
je 0x4e9ccc
push dword [esi + 0x48]
call fcn.004f252e
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4e9cdc
push eax
call fcn.004f252e
add esp, 4
push esi
call fcn.004f252e
add esp, 4
cmp dword [edi + 0x648350], 2
jne 0x4e9d03
cmp ebp, 0xb
jne 0x4e9d03
push dword [edi + 0x64b3fc]
mov ecx, 0x56df60
call fcn.00462a70
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4
test ebp, ebp
jne 0x4e9d23
mov ebp, 3
cmp dword [edi + 0x648350], 2
jne 0x4e9d77
mov eax, dword [edi + 0x64835c]
lea ecx, [edi + 0x64835c]
push 0
push dword [edi + 0x64b484]
mov dword [edi + 0x64b3c8], 0
push dword [edi + 0x64b480]
call dword [eax + 0xc]
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 0x4e9d89
push dword [esi + 0x3c]
call fcn.004f252e
add esp, 4
cmp word [esi + 0x20], 0
je 0x4e9d9b
push dword [esi + 0x48]
call fcn.004f252e
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4e9dab
push eax
call fcn.004f252e
add esp, 4
push esi
call fcn.004f252e
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x28
ret 4