Function at 0x4913a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
movzx ecx, byte [eax + 0x48]
movzx edx, byte [eax + 0x4c]
mov dh, byte [esi + 0x4c]
cmp cl, 3
jne 0x4913d7
movzx ecx, byte [esi + 0x48]
cmp cl, 3
jne 0x491404
mov byte [esp + 5], 3
mov byte [esp + 4], 3
jmp 0x491434
mov byte [esp + 4], cl
mov edi, dword [eax + 0x40]
movzx ecx, byte [eax + 0x4b]
movzx ebx, word [eax + 0x49]
mov dword [esp + 0x14], edi
mov edi, dword [eax + 0x44]
mov byte [esp + 0xc], cl
movzx ecx, byte [esi + 0x48]
mov word [esp + 0xa], bx
mov dword [esp + 0x10], edi
mov byte [esp + 5], cl
jmp 0x491434
cmp cl, 2
jne 0x491415
mov byte [esp + 5], 2
mov byte [esp + 4], 2
jmp 0x491434
mov edi, dword [esi + 0x40]
mov dword [esp + 0x14], edi
lock inc dword [edi]
jle 0x491627
mov edi, dword [esi + 0x44]
mov byte [esp + 5], cl
mov byte [esp + 4], cl
mov dword [esp + 0x10], edi
xor ecx, ecx
cmp dword [eax], 0
mov edi, eax
movzx ebx, byte [eax + 0x4f]
mov dword [esp + 0x18], 1
cmove edi, esi
cmove ecx, dword [esi + 4]
movsd xmm0, qword [edi + 8]
movsd xmm1, qword [edi + 0x10]
movsd xmm2, qword [edi + 0x18]
movsd xmm3, qword [edi + 0x20]
mov edi, dword [esi]
mov dword [esp + 0x30], ecx
mov ecx, 1
cmovne edi, ecx
cmp bl, 2
movzx ecx, byte [esi + 0x4d]
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x58], xmm2
movsd qword [esp + 0x60], xmm3
movsd qword [esp + 0x48], xmm0
mov dword [esp + 0x28], edi
movzx edi, byte [esi + 0x4f]
cmovne edi, ebx
movzx ebx, byte [eax + 0x4e]
mov dword [esp + 0x44], edi
movzx edi, byte [esi + 0x4e]
cmp bl, 2
cmovne edi, ebx
movzx ebx, byte [eax + 0x4d]
mov dword [esp + 0x40], edi
cmp bl, 2
cmovne ecx, ebx
cmp dl, 2
mov dword [esp + 0x3c], ecx
movzx ecx, dh
movzx edx, dl
cmove edx, ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x34], edx
cmp cl, 2
jne 0x4914d9
mov ecx, dword [esi + 0x50]
cmp dword [eax + 0x28], 0
mov edx, eax
mov dword [esp + 0x38], ecx
jne 0x4914ee
mov ecx, dword [esi + 0x28]
mov edx, esi
mov dword [esp + 0x18], ecx
movzx ecx, byte [eax + 0x51]
movzx edi, byte [esi + 0x51]
mov ebx, dword [eax + 0x38]
cmp cl, 2
cmovne edi, ecx
mov ecx, eax
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 0x30]
cmp edi, 2
jne 0x491512
mov edi, dword [esi + 0x30]
mov ecx, esi
cmp ebx, 2
jne 0x49151c
mov ebx, dword [esi + 0x38]
mov eax, esi
mov eax, dword [eax + 0x3c]
mov edx, dword [edx + 0x2c]
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov byte [esp + 8], al
movzx eax, word [esp + 0xa]
mov word [esp + 6], ax
movzx eax, byte [esp + 5]
cmp al, 3
je 0x491561
cmp al, 2
je 0x491561
mov ecx, dword [esi + 0x40]
lock dec dword [ecx]
jne 0x491561
mov edx, dword [esi + 0x44]
call fcn.00483ea0
mov eax, dword [esp + 0x28]
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x58]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 0x60]
mov eax, dword [esp + 0x18]
movsd qword [esi + 8], xmm0
movsd qword [esi + 0x18], xmm2
movsd qword [esi + 0x20], xmm1
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x44], eax
movzx eax, byte [esp + 4]
mov byte [esi + 0x48], al
movzx eax, byte [esp + 8]
mov byte [esi + 0x4b], al
movzx eax, word [esp + 6]
mov word [esi + 0x49], ax
mov eax, dword [esp + 0x34]
mov byte [esi + 0x4c], al
mov eax, dword [esp + 0x3c]
mov byte [esi + 0x4d], al
mov eax, dword [esp + 0x40]
mov byte [esi + 0x4e], al
mov eax, dword [esp + 0x44]
mov byte [esi + 0x4f], al
mov eax, dword [esp + 0x38]
mov byte [esi + 0x50], al
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x51], al
movzx eax, word [esp + 0xe]
mov word [esi + 0x56], ax
mov eax, dword [esp + 0xa]
mov dword [esi + 0x52], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2