Function at 0x49a910
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx edx, byte [esi + 0x36]
movzx ecx, byte [eax + 0x36]
mov ch, byte [eax + 0x37]
mov dh, byte [esi + 0x37]
movzx ebx, byte [eax + 0x38]
mov bh, byte [esi + 0x38]
mov byte [esp + 0x18], dl
mov dl, byte [eax + 0x30]
cmp dl, 3
jne 0x49a952
mov dl, byte [esi + 0x30]
cmp dl, 3
jne 0x49a976
mov byte [esp + 6], 3
jmp 0x49a99d
mov edi, dword [eax + 0x28]
mov byte [esp + 6], dl
mov dl, byte [eax + 0x33]
mov dword [esp + 0x20], edi
mov edi, dword [eax + 0x2c]
mov byte [esp + 0xe], dl
mov dword [esp + 0x1c], edi
movzx edi, word [eax + 0x31]
mov word [esp + 0xc], di
jmp 0x49a99d
cmp dl, 2
jne 0x49a982
mov byte [esp + 6], 2
jmp 0x49a99d
mov edi, dword [esi + 0x28]
mov byte [esp + 6], dl
mov dword [esp + 0x20], edi
lock inc dword [edi]
jle 0x49aba5
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x1c], edi
cmp bl, 2
movzx edi, bh
movzx ebx, bl
movzx edx, dh
cmove ebx, edi
cmp ch, 2
movzx edi, ch
cmove edi, edx
movzx edx, byte [esp + 0x18]
cmp cl, 2
movzx ecx, cl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov edi, eax
cmove ecx, edx
movzx edx, byte [esi + 0x3e]
mov dword [esp + 0x44], ecx
movzx ecx, byte [eax + 0x3e]
cmp cl, 3
cmovne edx, ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
cmp edx, 2
jne 0x49a9f3
mov edx, dword [esi + 8]
mov edi, esi
mov dword [esp + 0x3c], edx
cmp ecx, 2
mov edx, eax
mov dword [esp + 0x14], edi
jne 0x49aa07
mov ecx, dword [esi + 0x10]
mov edx, esi
cmp dword [eax], 0
mov edi, dword [esi]
mov dword [esp + 0x50], edx
mov edx, 1
mov dword [esp + 0x40], ecx
mov ecx, eax
cmovne edi, edx
mov edx, dword [eax + 0x18]
cmove ecx, esi
mov dword [esp + 0x34], edi
mov edi, eax
cmp edx, 2
jne 0x49aa34
mov edx, dword [esi + 0x18]
mov edi, esi
mov dword [esp + 0x10], edi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x38], edx
mov edx, eax
cmp edi, 2
jne 0x49aa4b
mov edi, dword [esi + 0x20]
mov edx, esi
movzx ebx, byte [eax + 0x3d]
mov dword [esp + 0x30], edi
movzx edi, byte [esi + 0x3d]
movd xmm0, dword [eax + 0x39]
movdqa xmm2, xmmword [0x5ac4c0]
movd xmm1, dword [esi + 0x39]
cmp bl, 2
pcmpeqb xmm2, xmm0
cmovne edi, ebx
cmp byte [eax + 0x34], 0
mov ebx, dword [ecx + 4]
pand xmm1, xmm2
pandn xmm2, xmm0
mov dword [esp + 0x2c], edi
movzx edi, word [esp + 0xc]
por xmm2, xmm1
cmove eax, esi
movzx eax, byte [eax + 0x35]
mov word [esp + 8], di
mov byte [esp + 7], al
movzx eax, byte [esp + 0xe]
mov byte [esp + 0xa], al
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x50]
movdqa xmmword [esp + 0x50], xmm2
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x10], eax
mov eax, 1
cmove eax, dword [esi + 0x34]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x30]
cmp al, 3
je 0x49aafb
cmp al, 2
je 0x49aafb
mov ecx, dword [esi + 0x28]
lock dec dword [ecx]
jne 0x49aafb
mov edx, dword [esi + 0x2c]
call fcn.00483ea0
mov eax, dword [esp + 0x34]
movaps xmm0, xmmword [esp + 0x50]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
movzx eax, byte [esp + 6]
mov byte [esi + 0x30], al
movzx eax, byte [esp + 0xa]
mov byte [esi + 0x33], al
movzx eax, word [esp + 8]
mov word [esi + 0x31], ax
mov eax, dword [esp + 0x14]
mov byte [esi + 0x34], al
movzx eax, byte [esp + 7]
mov byte [esi + 0x35], al
mov eax, dword [esp + 0x44]
mov byte [esi + 0x36], al
mov eax, dword [esp + 0x48]
mov byte [esi + 0x37], al
mov eax, dword [esp + 0x4c]
mov byte [esi + 0x38], al
mov eax, dword [esp + 0x2c]
movss dword [esi + 0x39], xmm0
mov byte [esi + 0x3d], al
mov eax, dword [esp + 0x18]
mov byte [esi + 0x3e], al
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2