Function at 0x47efa0
Capabilities:
Enumerate pe sections
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x6c24b8]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
xor eax, eax
cmp ebp, eax
jne 0x47efbe
mov eax, 4
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, dword [ebx]
mov dword [esp + 0x10], eax
lea esi, [ecx - 0x64]
cmp esi, 0x46
ja case.0x47f000.104
xor ecx, ecx
mov cl, byte [esi + 0x47f570]
jmp dword [ecx*4 + 0x47f55c]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
lea esi, [ecx - 0x64]
cmp esi, 0x46
ja case.0x47f000.104
xor ecx, ecx
mov cl, byte [esi + 0x47f5cc]
jmp dword [ecx*4 + 0x47f5b8]
mov ecx, 0x19
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 0x6e
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov word [edx + 0x6c], ax
mov eax, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebp + 0x2350], eax
mov eax, dword [esp + 8]
pop ebx
pop ebp
pop ecx
ret
mov ecx, 0x19
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 0x8e
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov word [edx + 0x6c], ax
jmp 0x47f1fc
mov ecx, 0x19
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 0xaa
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov word [edx + 0x6c], ax
mov dword [edx + 0x6e], eax
mov dword [edx + 0x72], eax
mov dword [edx + 0x76], eax
mov dword [edx + 0x7a], eax
mov dword [edx + 0x7e], 0x683dbc
mov dword [edx + 0x82], eax
mov dword [edx + 0x86], eax
mov dword [edx + 0x8a], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0x2350], ecx
mov esi, dword [ebx + 0xc]
cmp esi, eax
mov dword [esp + 0x18], ecx
je 0x47f14a
add ebp, 0x2354
mov dword [edx + 0xc], ebp
mov si, word [ecx]
mov word [ebp], si
mov esi, dword [edx + 0xc]
mov edi, dword [ecx + 2]
mov dword [esi + 2], edi
mov esi, dword [edx + 0xc]
mov edi, dword [ecx + 6]
mov dword [esi + 6], edi
mov esi, dword [edx + 0xc]
mov di, word [ecx + 0xa]
mov word [esi + 0xa], di
mov esi, dword [edx + 0xc]
mov di, word [ecx + 0xc]
mov word [esi + 0xe], di
mov esi, dword [edx + 0xc]
mov edi, dword [ecx + 0xe]
mov dword [esi + 0x10], edi
mov edi, dword [edx + 0xc]
lea esi, [ecx + 0x12]
add edi, 0x14
mov ebx, dword [esi]
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov ebx, dword [esi + 0xc]
mov dword [edi + 0xc], ebx
mov si, word [esi + 0x10]
mov word [edi + 0x10], si
mov edi, dword [edx + 0xc]
lea esi, [ecx + 0x24]
add edi, 0x26
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov esi, dword [esi + 0xa4]
mov dword [ecx + 0x12a], esi
mov ecx, dword [edx + 0xc]
mov dword [ecx + 0x12e], eax
mov ecx, dword [edx + 0xc]
mov dword [ecx + 0x132], eax
pop edi
pop esi
mov dword [edx + 0x8e], eax
mov dword [edx + 0x92], eax
mov dword [edx + 0x96], eax
mov dword [edx + 0x9a], eax
mov dword [edx + 0x9e], eax
mov dword [edx + 0xa2], eax
mov dword [edx + 0xa6], eax
mov eax, dword [esp + 8]
pop ebx
pop ebp
pop ecx
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
lea esi, [ecx - 0x64]
cmp esi, 0x46
ja case.0x47f000.104
xor ecx, ecx
mov cl, byte [esi + 0x47f628]
jmp dword [ecx*4 + 0x47f614]
mov eax, dword [esp + 0x10]
mov ecx, 0x19
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 0x64
mov edx, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebp + 0x2350], edx
pop ebx
pop ebp
pop ecx
ret
mov ecx, 0x1b
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [edx], 0x6e
mov eax, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebp + 0x2350], eax
mov eax, dword [esp + 8]
pop ebx
pop ebp
pop ecx
ret
mov ecx, 0x1b
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [edx], 0x8e
mov dword [edx + 0x6e], eax
mov dword [edx + 0x72], eax
mov dword [edx + 0x76], eax
mov dword [edx + 0x7a], eax
mov dword [edx + 0x7e], 0x683dbc
mov dword [edx + 0x82], eax
mov dword [edx + 0x86], eax
mov dword [edx + 0x8a], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0x2350], ecx
mov esi, dword [ebx + 0xc]
cmp esi, eax
mov dword [esp + 0x18], ecx
je 0x47f550
add ebp, 0x2354
mov dword [edx + 0xc], ebp
mov si, word [ecx]
mov word [ebp], si
mov esi, dword [edx + 0xc]
mov edi, dword [ecx + 2]
mov dword [esi + 2], edi
mov esi, dword [edx + 0xc]
mov edi, dword [ecx + 6]
mov dword [esi + 6], edi
mov esi, dword [edx + 0xc]
mov di, word [ecx + 0xa]
mov word [esi + 0xa], di
mov esi, dword [edx + 0xc]
mov di, word [ecx + 0xc]
mov word [esi + 0xe], di
mov esi, dword [edx + 0xc]
mov edi, dword [ecx + 0xe]
mov dword [esi + 0x10], edi
mov edi, dword [edx + 0xc]
lea esi, [ecx + 0x12]
add edi, 0x14
mov ebx, dword [esi]
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
mov ebx, dword [esi + 0xc]
mov dword [edi + 0xc], ebx
mov si, word [esi + 0x10]
mov word [edi + 0x10], si
mov edi, dword [edx + 0xc]
lea esi, [ecx + 0x24]
add edi, 0x26
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
pop edi
mov esi, dword [esi + 0xa4]
mov dword [ecx + 0x12a], esi
mov ecx, dword [edx + 0xc]
pop esi
pop ebx
mov dword [ecx + 0x12e], eax
mov edx, dword [edx + 0xc]
pop ebp
mov dword [edx + 0x132], eax
mov eax, dword [esp]
pop ecx
ret
mov ecx, 0x1b
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [edx], 0xaa
jmp 0x47f070
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
lea esi, [ecx - 0x64]
cmp esi, 0x46
ja case.0x47f000.104
xor ecx, ecx
mov cl, byte [esi + 0x47f684]
jmp dword [ecx*4 + 0x47f670]
mov ecx, 0x19
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 0x64
mov ecx, dword [ebp + 0x2350]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x2350]
cmp edx, eax
mov dword [esp + 0x18], ecx
je 0x47f550
mov edx, dword [ebx + 0xc]
cmp edx, eax
je 0x47f550
mov dx, word [edx]
lea esi, [ecx + 0x12]
mov word [ecx], dx
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 2]
mov dword [ecx + 2], edx
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 6]
mov dword [ecx + 6], edx
mov edx, dword [ebx + 0xc]
mov dx, word [edx + 0xa]
mov word [ecx + 0xa], dx
mov edx, dword [ebx + 0xc]
mov dx, word [edx + 0xe]
mov word [ecx + 0xc], dx
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0xe], edx
mov edx, dword [ebx + 0xc]
add edx, 0x14
mov edi, dword [edx]
mov dword [esi], edi
mov edi, dword [edx + 4]
mov dword [esi + 4], edi
mov edi, dword [edx + 8]
mov dword [esi + 8], edi
mov edi, dword [edx + 0xc]
mov dword [esi + 0xc], edi
lea edi, [ecx + 0x24]
mov dx, word [edx + 0x10]
mov ecx, 0x20
mov word [esi + 0x10], dx
mov esi, dword [ebx + 0xc]
add esi, 0x26
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov byte [ecx + 0xa3], al
mov eax, dword [ebx + 0xc]
pop ebx
pop ebp
mov edx, dword [eax + 0x12a]
mov eax, dword [esp]
mov dword [ecx + 0xa4], edx
pop ecx
ret
mov ecx, 0x1b
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [edx], 0x6e
jmp 0x47f32a
mov ecx, 0x23
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [edx], 0xaa
jmp 0x47f14a
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
lea esi, [ecx - 0x64]
cmp esi, 0x46
ja case.0x47f000.104
xor ecx, ecx
mov cl, byte [esi + 0x47f6e0]
jmp dword [ecx*4 + 0x47f6cc]
mov ecx, 0x19
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 0x64
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x2350]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x2350]
cmp ecx, eax
je 0x47f550
mov ecx, dword [ebx + 0xc]
cmp ecx, eax
je 0x47f550
mov cx, word [ecx]
lea esi, [edx + 0x12]
mov word [edx], cx
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 2]
mov dword [edx + 2], ecx
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 6]
mov dword [edx + 6], ecx
mov ecx, dword [ebx + 0xc]
mov cx, word [ecx + 0xa]
mov word [edx + 0xa], cx
mov ecx, dword [ebx + 0xc]
mov cx, word [ecx + 0xe]
mov word [edx + 0xc], cx
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0xe], ecx
mov ecx, dword [ebx + 0xc]
add ecx, 0x14
mov edi, dword [ecx]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov edi, dword [ecx + 8]
mov dword [esi + 8], edi
mov edi, dword [ecx + 0xc]
mov dword [esi + 0xc], edi
lea edi, [edx + 0x24]
mov cx, word [ecx + 0x10]
mov word [esi + 0x10], cx
mov esi, dword [ebx + 0xc]
add esi, 0x26
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov byte [edx + 0xa3], al
mov eax, dword [ebx + 0xc]
pop edi
pop esi
mov ecx, dword [eax + 0x12a]
mov eax, dword [esp + 8]
pop ebx
mov dword [edx + 0xa4], ecx
pop ebp
pop ecx
ret
mov ecx, 0x1b
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [edx], 0x6e
jmp 0x47f443
mov ecx, 0x23
mov esi, ebx
mov edi, edx
mov eax, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
mov dword [edx], 0x8e
pop ebp
pop ecx
ret
mov ecx, 0x2a
mov esi, ebx
mov edi, edx
mov eax, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
mov dword [edx], 0xaa
pop ebp
pop ecx
ret
mov dword [esp + 0x10], 0x2f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret