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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x164
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x448f1c
cmp byte [ebp + 0x14], 0
jne 0x448df9
mov edi, dword [esi + 0x1e8]
mov eax, dword [esi + 0xd0]
mov edx, dword [eax + 0x60]
lea ebx, [esi + 0xd0]
push edi
mov ecx, ebx
call edx
xor eax, eax
mov word [edi + 0xa], ax
mov word [edi + 0xc], ax
mov ax, word [ebx + 0x11c]
mov word [esi + 0x2a], ax
mov ebx, 0x12
lea eax, [edi + 8]
lea ecx, [esi + 0xd8]
mov edx, dword [eax - 8]
mov dword [ecx - 8], edx
mov edx, dword [eax - 4]
mov dword [ecx - 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
sub ebx, 1
add eax, 0x10
add ecx, 0x10
test ebx, ebx
jg 0x448d93
push 0
lea eax, [esi + 0x1f0]
push 0
push eax
call fcn.00406240
add esp, 0xc
cmp word [edi + 4], 0
je 0x448de8
add word [edi + 6], 0xffff
movzx eax, word [edi + 6]
test ax, ax
jne 0x448de8
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x18]
push ecx
push edi
mov ecx, esi
call fcn.00445c30
jmp 0x448dfc
mov edi, dword [ebp + 0x18]
movzx edx, byte [esi + 0xd8]
mov eax, dword [ebp + 0xc]
cmp edx, eax
je 0x449146
cmp eax, 1
je 0x449146
lea edi, [esi + 0xd0]
mov eax, edi
mov ecx, eax
sub ecx, esi
mov word [esp + 0x26], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x20], vtable.hkpMaxSizeMotion.0
mov edx, 0x12
lea ecx, [esp + ecx - 0xa8]
lea esp, [esp]
mov ebx, dword [eax]
mov dword [ecx - 8], ebx
mov ebx, dword [eax + 4]
mov dword [ecx - 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 4], ebx
sub edx, 1
add eax, 0x10
add ecx, 0x10
test edx, edx
jg 0x448e50
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x140]
push eax
mov ecx, edi
call edx
movzx eax, byte [esp + 0xdd]
movzx ecx, byte [esp + 0xdc]
fld dword [eax*4 + 0x4b93f8]
fstp dword [esp + 0x10]
push edi
sub esp, 8
fld dword [ecx*4 + 0x4b93f8]
lea edx, [esp + 0xbc]
fstp dword [esp + 0x20]
lea eax, [esp + 0x14c]
fld dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push edx
push eax
call fcn.00445570
mov eax, dword [ebp + 0xc]
push ecx
fstp dword [esp]
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.0043d8d0
add esp, 0x24
push edi
lea ecx, [esp + 0x24]
call fcn.00445780
fld dword [esp + 0xd4]
fstp dword [edi + 0xb4]
fld dword [esp + 0xd8]
fstp dword [edi + 0xb8]
jmp 0x44913a
lea ecx, [esi + 0xd0]
mov eax, ecx
mov edx, eax
sub edx, esi
mov word [esp + 0x26], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x20], vtable.hkpMaxSizeMotion.0
mov edi, 0x12
lea edx, [esp + edx - 0xa8]
mov edi, edi
mov ebx, dword [eax]
mov dword [edx - 8], ebx
mov ebx, dword [eax + 4]
mov dword [edx - 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx], ebx
mov ebx, dword [eax + 0xc]
mov dword [edx + 4], ebx
sub edi, 1
add eax, 0x10
add edx, 0x10
test edi, edi
jg 0x448f50
cmp dword [ebp + 0xc], 7
jne 0x448ffb
test ecx, ecx
je 0x448f9c
lea eax, [esi + 0x150]
push eax
lea edx, [esi + 0x110]
push edx
call fcn.00447600
mov edi, eax
mov dword [esp + 0x10], eax
jmp 0x448fa2
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x30]
lea ebx, [edi + 0x10]
push eax
mov ecx, ebx
call fcn.00445880
fldz
mov cl, byte [esp + 0x29]
mov byte [edi + 9], cl
fld dword [esp + 0x8c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x449036
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x448fdc
fstp st(0)
call fcn.0043ed70
jmp 0x448fe4
fld1
fdivrp st(1)
fadd dword [esp + 0x7c]
fstp dword [esp + 0x14]
push ebx
fld dword [esp + 0x18]
push ecx
fstp dword [esp]
call fcn.004694d0
add esp, 8
jmp 0x449038
test ecx, ecx
je 0x449024
lea edx, [esi + 0x150]
push edx
lea eax, [esi + 0x110]
push eax
call fcn.00447780
mov edi, eax
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.00445780
jmp 0x449038
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], edi
call fcn.00445780
jmp 0x449038
fstp st(0)
cmp byte [ebp + 0x14], 0
je 0x449100
mov ecx, dword [0x4c6060]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x2e
push 0x120
mov ecx, eax
call fcn.00402380
mov word [eax + 4], 0x120
mov word [eax + 6], 1
mov dword [eax + 0x118], 0
mov dword [eax], vtable.hkpMaxSizeMotion.0
movzx edx, word [eax + 4]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x20]
mov ebx, edx
sub ebx, eax
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x24]
sub ebx, eax
mov edi, 0x12
lea ecx, [eax + 8]
mov dword [esp + 0x18], ebx
nop
mov ebx, dword [edx]
mov dword [ecx - 8], ebx
mov ebx, dword [edx + 4]
mov dword [ecx - 4], ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + ecx]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ecx + ebx]
mov dword [ecx + 4], ebx
sub edi, 1
add edx, 0x10
add ecx, 0x10
test edi, edi
jg 0x4490a0
mov cx, word [esp + 0x1c]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x10]
mov word [eax + 6], 1
mov dword [ecx + 0x118], eax
mov dx, word [esi + 0x2a]
mov word [ecx + 0x11c], dx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00445c30
jmp 0x449120
mov edx, dword [edi]
mov eax, dword [esp + 0x138]
mov edx, dword [edx + 0x68]
push eax
mov ecx, edi
call edx
mov ax, word [esp + 0x13c]
mov word [edi + 0x11c], ax
xor ecx, ecx
cmp dword [ebp + 0xc], 7
mov dword [esi + 0x90], 0
setne cl
add ecx, 1
mov word [esi + 0x2a], cx
lea ecx, [esp + 0x20]
call fcn.004477e0
mov edi, dword [ebp + 0x18]
test edi, edi
lea edx, [esi + 0xe0]
mov dword [esi + 0x18], edx
je 0x449176
movzx eax, byte [edi + 0x2c7]
movzx ecx, byte [edi + 0x2c6]
movzx edx, byte [edi + 0x2c5]
push eax
push ecx
push edx
lea ecx, [esi + 0xd0]
call fcn.0043e830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret