Function at 0x46e310
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4d475b
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x106c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb984]
xor eax, esp
push eax
lea eax, [esp + 0x1084]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1098]
mov edi, dword [esp + 0x109c]
mov ecx, ebx
mov dword [esp + 0x34], ebx
call fcn.0043bac0
xor ebp, ebp
push ebp
mov ecx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x1b], 0
call fcn.0040cf00
test al, al
je 0x46e3e3
movzx eax, byte [ebx + 0xaf0d]
mov byte [edi + 0xaf0d], al
movzx ecx, byte [ebx + 0xaf0c]
mov byte [edi + 0xaf0c], cl
movzx edx, byte [ebx + 0xaf0f]
mov byte [edi + 0xaf0f], dl
movzx eax, byte [ebx + 0xaf13]
mov byte [edi + 0xaf13], al
movzx ecx, byte [ebx + 0xaf14]
mov byte [edi + 0xaf14], cl
movzx edx, byte [ebx + 0xaf11]
mov byte [edi + 0xaf11], dl
movzx eax, byte [ebx + 0xaf12]
mov byte [esp + 0x17], 1
mov byte [edi + 0xaf12], al
push ebp
push ebp
xor ecx, ecx
push ebp
mov word [edi + 0x643c], cx
push ebp
mov ecx, edi
mov dword [edi + 0x6440], ebp
call fcn.0040e620
push ebp
push ebp
push ebp
push 1
mov ecx, edi
call fcn.0040e620
mov eax, dword [ebx + 0xaef8]
mov ecx, dword [ebx + 0xaefc]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
add eax, 0xd
push ebp
adc ecx, ebp
push ecx
push eax
mov ecx, ebx
call edx
mov eax, dword [edi + 0x6434]
push ebp
sub eax, 0xd
push eax
push edi
mov ecx, ebx
call fcn.0043bd80
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebp
push ebp
push ebp
mov ecx, ebx
call eax
push 0x10000
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.0040bc60
mov dword [esp + 0x108c], ebp
mov esi, dword [esp + 0x48]
mov edx, dword [ebx]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 4]
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call edx
xor eax, eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
lea ebp, [edi + 0x64a0]
add esi, 0xfffff000
push eax
mov ecx, ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
call fcn.00442240
mov eax, dword [esp + 0x38]
sub eax, 0x20
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
sbb eax, 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
test eax, 0xfffff
jne 0x46e4de
call fcn.0047fae0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push esi
push ecx
push edx
call fcn.004c3b80
mov esi, eax
add esi, dword [esp + 0x44]
lea eax, [esi + 2]
mov dword [esp + 0x38], eax
movzx eax, byte [eax]
mov dword [edi + 0x64a4], eax
movzx ecx, byte [esi + 6]
movzx edx, byte [esi + 5]
shl ecx, 8
add ecx, edx
mov dword [edi + 0x64ac], ecx
movzx eax, byte [esi + 0x1b]
movzx edx, byte [esi + 0x1a]
shl eax, 8
add eax, edx
cmp dword [edi + 0x64a4], 0x74
mov dword [esp + 0x28], eax
jne 0x46e983
cmp ecx, 0x1000
jae 0x46e983
lea ecx, [eax - 1]
cmp ecx, 0x7fe
ja 0x46e983
cmp eax, 0x800
jae 0x46e983
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
add edx, eax
mov dword [ebp], edx
movzx ecx, byte [esi + 4]
movzx edx, byte [esi + 3]
shl ecx, 8
add ecx, edx
mov dword [edi + 0x64a8], ecx
movzx eax, byte [esi + 0xa]
movzx ecx, byte [esi + 9]
movzx edx, byte [esi + 8]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 7]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [edi + 0x64b4], eax
movzx eax, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
movzx ecx, byte [esi + 0xc]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0xb]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
mov dword [esp + 0x60], eax
movzx eax, byte [esi + 0xf]
mov byte [edi + 0x64b8], al
mov dword [edi + 0x7500], 2
movzx ecx, byte [esi + 0x13]
movzx edx, byte [esi + 0x12]
movzx eax, byte [esi + 0x11]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x10]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
mov dword [edi + 0x7504], ecx
movzx eax, byte [esi + 0x17]
movzx ecx, byte [esi + 0x16]
movzx edx, byte [esi + 0x15]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x14]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
push eax
lea ecx, [edi + 0x74d0]
call fcn.00482420
mov dl, byte [esi + 0x18]
mov byte [edi + 0x64b9], dl
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x64ba], al
movzx ecx, byte [esi + 0x1f]
movzx edx, byte [esi + 0x1e]
movzx eax, byte [esi + 0x1d]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x1c]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
xor eax, eax
test dword [edi + 0x64a8], 0x100
mov dword [edi + 0x64bc], ecx
mov dword [esp + 0x40], eax
je 0x46e6ba
movzx eax, byte [esi + 0x23]
movzx ecx, byte [esi + 0x22]
movzx edx, byte [esi + 0x21]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x20]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x26]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x27]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x25]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + 0x24]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x40], ecx
push 1
push 0
push 0
push eax
call fcn.004c13d0
mov ecx, dword [edi + 0x64b4]
xor ebx, ebx
add eax, ecx
push 1
adc edx, ebx
push ebx
mov dword [edi + 0x74ec], edx
mov edx, dword [esp + 0x48]
push ebx
push edx
mov dword [edi + 0x74e8], eax
call fcn.004c13d0
mov ebx, dword [esp + 0x28]
xor ecx, ecx
add eax, dword [esp + 0x60]
push ebx
adc edx, ecx
push ecx
mov ecx, edi
mov dword [edi + 0x74f0], eax
mov dword [edi + 0x74f4], edx
call fcn.0046d810
add eax, esi
push eax
lea edx, [esp + 0x88]
push edx
call fcn.004c1de0
add esp, 0xc
test dword [edi + 0x64a8], 0x200
je 0x46e779
lea ecx, [esp + 0x6c]
call fcn.00430f50
lea eax, [esp + 0x80]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e740
push 0x800
sub eax, edx
lea ecx, [edi + 0x64c0]
push ecx
inc eax
mov ecx, ebx
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x8c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x80]
call fcn.00430f70
jmp 0x46e782
xor ecx, ecx
mov word [edi + 0x64c0], cx
mov edx, dword [edi + 0x64a8]
test edx, 0x400
je 0x46e7ae
push 0
mov ecx, edi
call fcn.0046d810
add eax, ebx
mov ecx, dword [eax + esi]
mov dword [edi + 0x7531], ecx
mov eax, dword [eax + esi + 4]
mov dword [edi + 0x7535], eax
mov eax, dword [edi + 0x64ac]
sub eax, 2
test eax, eax
jle 0x46e97f
test dl, 8
je 0x46e7d1
push 1
mov ecx, edi
call fcn.0046d810
lea eax, [eax + ebx - 2]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0xffffffffffffffff
call fcn.00427d90
not eax
movzx eax, ax
push eax
mov eax, edi
call fcn.0046d7c0
mov ebx, dword [esp + 0x34]
test al, al
je 0x46e983
mov eax, dword [edi + 0x64ac]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
xor ecx, ecx
add eax, dword [esp + 0x18]
push 0
adc ecx, dword [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + eax + 0x80], 0
call fcn.0047fae0
cmp word [edi + 0x64c0], 0
lea esi, [edi + 0x64c0]
jne 0x46e871
push 1
lea ecx, [esp + 0x84]
push ecx
call fcn.00460b30
push 0x800
lea edx, [esp + 0x884]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.0047eb30
push 0x800
push esi
lea ecx, [esp + 0x888]
push ecx
call fcn.00486590
mov edx, dword [edi + 0x64a8]
and edx, 0xffffefff
or dword [esp + 0x20], edx
push 1
mov ecx, edi
call fcn.0046d810
add eax, dword [esp + 0x28]
push esi
push 0x268
mov dword [edi + 0x64ac], eax
call fcn.004750b0
push eax
call fcn.0049f9b0
mov eax, dword [ebp + 8]
inc dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0xe
and cl, 1
mov byte [ebp + 0x10], cl
mov dl, al
and dl, 1
mov byte [ebp + 0x1088], dl
mov ecx, eax
shr ecx, 1
and cl, 1
mov byte [ebp + 0x1089], cl
mov edx, eax
shr edx, 2
and dl, 1
mov ecx, eax
shr ecx, 0xa
and cl, 1
mov byte [ebp + 0x108b], dl
mov byte [ebp + 0x1090], cl
mov edx, eax
shr edx, 4
mov ecx, eax
and ecx, 0xe0
and dl, 1
add esp, 8
cmp cl, 0xe0
sete cl
mov byte [ebp + 0x10e0], dl
mov byte [ebp + 0x10e1], cl
test cl, cl
je 0x46e918
xor edx, edx
jmp 0x46e927
mov ecx, eax
shr ecx, 5
and ecx, 7
mov edx, 0x10000
shl edx, cl
add byte [ebp + 0x1a], 0xd0
mov ecx, eax
mov dword [ebp + 0x10e4], edx
push 0
mov edx, eax
shr ecx, 0xb
push 0
and cl, 1
shr edx, 3
shr eax, 8
push 0
and dl, 1
mov byte [ebp + 0x10e3], cl
and al, 1
push 2
mov ecx, edi
mov byte [ebp + 0x10e2], dl
mov byte [ebp + 0x10e9], al
call fcn.0040e620
mov edx, dword [edi + 0x74ec]
mov eax, dword [edi + 0x74e8]
push edx
push eax
push edi
mov ecx, ebx
call fcn.0043bd80
jmp 0x46e983
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, 1
adc ecx, 0
cmp ecx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jg 0x46ea04
jl 0x46e9a7
cmp eax, dword [esp + 0x64]
jae 0x46ea04
mov esi, dword [esp + 0x48]
xor ecx, ecx
push ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
add esi, 0xfffff000
push esi
push ecx
push eax
call fcn.004c3b80
or eax, edx
jne 0x46e4c9
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 4]
push ecx
push edx
mov ecx, ebx
call eax
add dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x5c]
adc dword [esp + 0x30], ecx
jmp 0x46e4c9
test byte [esp + 0x20], 3
je 0x46ea12
mov byte [edi + 0xaf0d], 1
mov esi, dword [esp + 0x24]
test esi, esi
jbe 0x46ea43
cmp byte [esp + 0x17], 0
jne 0x46ea41
mov edx, dword [esp + 0x1094]
cmp byte [edx + 0x617c], 0
jne 0x46ea41
call fcn.0046d790
test al, al
je 0x46ea41
mov byte [edi + 0xaf0c], 1
test esi, esi
jne 0x46ea6a
push 0x274
call fcn.004750b0
push eax
add ebx, 0x1e
push ebx
call fcn.004ace90
add esp, 8
push 0xa
mov ecx, 0x51f7e8
call fcn.00433620
jmp 0x46ea9e
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
push 0
push 0
mov ecx, edi
call edx
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.0040e620
push 0
push 0
push 0
push 1
mov ecx, edi
call fcn.0040e620
mov ecx, edi
call fcn.0043b430
mov dword [esp + 0x108c], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46eaba
push eax
call fcn.004c1404
add esp, 4
mov ecx, dword [esp + 0x1084]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x106c]
xor ecx, esp
call fcn.004c0c62
add esp, 0x107c
ret 0xc