Function at 0x44b080
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4d33b4]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x48], ebx
mov al, byte [ebp + 0xc]
xor edx, edx
mov byte [esp + 0xe], al
mov byte [esp + 0x40], al
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x74], eax
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
cmp byte [ecx], al
jne 0x44b112
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x44b6c1
push dword [ebx + 0x218]
lea esi, [ebx + 0x218]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44b13a
mov dword [edi], 0
mov dword [edi + 4], 0
jmp 0x44b6c1
push esi
lea ecx, [esp + 0x60]
call fcn.00449a60
mov eax, dword [ebp + 0x48]
test al, 4
je 0x44b188
mov esi, dword [ebp + 0x24]
test eax, 0x300
mov eax, dword [ebp + 0x28]
je 0x44b164
xor esi, dword [ebx + 0x128]
xor eax, dword [ebx + 0x12c]
mov dword [esp + 0x2c], esi
mov esi, dword [ebp + 0x1c]
xor esi, dword [ebx + 0x128]
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0x20]
xor esi, dword [ebx + 0x12c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], esi
jmp 0x44b1a4
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
push dword [esp + 0x44]
lea eax, [esp + 0x6c]
mov ecx, ebx
push eax
call fcn.004499f0
call fcn.00435b30
test al, al
je 0x44b1c8
lea ecx, [esp + 0x50]
call fcn.00435a70
jmp 0x44b1db
xorps xmm0, xmm0
lea eax, [esp + 0x80]
movlpd qword [esp + 0x80], xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov ecx, ebx
mov dword [esp + 0x80], eax
call fcn.0044a970
push dword [ebx + 0x210]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
jne 0x44b34a
call fcn.00446db0
push dword [esp + 0x18]
mov ecx, eax
call fcn.00446c30
mov esi, eax
mov dword [esp + 0x24], esi
call fcn.0044c7a0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp esi, eax
je 0x44b346
test esi, esi
je 0x44b346
cmp byte [esi], 0
je 0x44b346
push esi
push ecx
call fcn.0044c7a0
add esp, 4
mov ecx, eax
call fcn.0044c7e0
lea edi, [ebx + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [ebx + 0xbc]
call fcn.0042daf0
mov esi, dword [esp + 0x78]
cmp esi, dword [ebx + 0xc0]
jne 0x44b2b0
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [ebx + 0xbc]
call fcn.0044c960
add esp, 4
mov ecx, eax
call fcn.00438450
jmp 0x44b33b
sub esp, 8
mov ecx, esp
push 0x417154
call fcn.0041bff0
sub esp, 8
lea eax, [esi + 0xc]
mov ecx, esp
push eax
call fcn.00423a80
push 1
xor edx, edx
lea ecx, [esp + 0xa0]
call fcn.00433610
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0xa0]
add esp, 0x14
push dword [esp + 0x5c]
push eax
call fcn.0044e170
mov ecx, dword [esp + 0x98]
add esp, 8
cmp eax, ecx
jne 0x44b32f
sub ecx, dword [esp + 0x8c]
test ecx, 0xfffffff8
je 0x44b323
push 0x2c
lea ecx, [esi + 0xc]
call fcn.00429370
push dword [esp + 0x24]
lea ecx, [esi + 0xc]
call fcn.0041c1d0
lea ecx, [esp + 0x8c]
call fcn.00433870
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
test byte [eax], 8
je 0x44b37a
push ecx
push dword [esp + 0x34]
mov cl, byte [esp + 0x16]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [ebp + 0x34]
sub esp, 8
push dword [esp + 0x30]
call fcn.00453500
mov eax, dword [esp + 0x3c]
add esp, 0x20
test byte [eax], 1
mov dword [esp + 0x210], 0xf
mov dword [esp + 0x20c], 0
mov byte [esp + 0x1fc], 0
je 0x44b4f9
mov byte [esp + 0xf], 0
lea eax, [ebx + 4]
test esi, esi
je 0x44b3bb
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00449ee0
jmp 0x44b3d5
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
lea eax, [esp + 0x64]
mov byte [esp + 0x13], 1
push eax
mov ecx, ebx
call fcn.0044aef0
mov esi, eax
test esi, esi
je 0x44b438
push dword [esp + 0x80]
mov ecx, esi
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [esp + 0x74]
push dword [ebp + 0x48]
push dword [esp + 0x88]
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [ebp + 0x34]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x6c]
push dword [esp + 0x54]
push dword [esp + 0x84]
push dword [esp + 0x50]
push dword [esp + 0x5c]
push dword [esp + 0x84]
push dword [esp + 0x60]
call fcn.00457cb0
mov eax, dword [ebx + 0x17c]
test al, 8
je 0x44b485
cmp byte [esp + 0xe], 0x58
mov ecx, 0x42
movzx eax, byte [esp + 0xe]
push esi
push dword [esp + 0x48]
cmove eax, ecx
mov ecx, ebx
movzx eax, al
push eax
lea eax, [esp + 0x240]
push eax
call fcn.0044b7d0
push eax
lea ecx, [esp + 0x200]
call fcn.004286e0
lea ecx, [esp + 0x234]
call fcn.0041c210
cmp byte [esp + 0xf], 0
je 0x44b496
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x20c], 0
je 0x44b4f9
cmp dword [0x4d8374], 2
jg 0x44b4de
push 2
push 0x50d
mov eax, 4
lea ecx, [esp + 0xa0]
push 0x417208
mov dword [esp + 0x1c], eax
call fcn.0041b540
lea ecx, [esp + 0x1fc]
add eax, 8
push ecx
push eax
call fcn.00420330
add esp, 8
mov eax, dword [esp + 0x10]
test al, 4
je 0x44b4fd
and eax, 0xfffffffb
lea ecx, [esp + 0x98]
mov dword [esp + 0x10], eax
call fcn.0041b6f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp dword [ebx + 0x160], ecx
jne 0x44b5b4
mov dword [esp + 0x214], 0
mov dword [esp + 0x218], 0
mov dword [esp + 0x230], 0xf
mov dword [esp + 0x22c], 0
mov byte [esp + 0x21c], 0
test al, 8
je 0x44b551
lea ecx, [esp + 0x148]
call fcn.0041b6f0
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 0x164]
call fcn.00435d60
mov ecx, dword [esp + 0x48]
mov bl, al
add ecx, 0x140
push ecx
lea ecx, [esp + 0x218]
call fcn.00433050
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x44b5a4
mov eax, dword [esp + 0x214]
test eax, eax
je 0x44b5a4
push eax
call dword [esp + 0x21c]
add esp, 4
lea ecx, [esp + 0x214]
call fcn.00427e50
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test byte [eax], 4
je 0x44b613
mov ecx, dword [ebx + 0x4c]
mov bl, byte [esp + 0xe]
test ecx, ecx
je 0x44b617
push dword [ebp + 0x48]
cmp bl, 0x58
mov edx, 0x42
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [ebp + 0x34]
push dword [esp + 0x50]
push dword [esp + 0x38]
push dword [esp + 0x68]
push esi
push eax
movzx eax, bl
cmove eax, edx
movzx eax, al
push eax
push dword [esp + 0x98]
push dword [esp + 0x98]
call ecx
add esp, 0x34
jmp 0x44b617
mov bl, byte [esp + 0xe]
test byte [ebp + 0x48], 1
jne 0x44b66c
cmp dword [0x4d94d4], 0
je 0x44b66c
mov eax, dword [0x4d94d4]
test eax, eax
setne al
test al, al
je 0x44b66c
cmp bl, 0x42
je 0x44b657
cmp bl, 0x58
je 0x44b657
cmp bl, 0x45
jne 0x44b66c
call fcn.00454b30
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x44b66c
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
jmp 0x44b66c
mov dword [esp + 0x40], esi
call fcn.00454b30
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00429140
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x210]
cmp eax, 0x10
jb 0x44b69a
inc eax
lea ecx, [esp + 0x1fc]
push eax
push dword [esp + 0x200]
call fcn.0041e500
lea ecx, [esp + 0x5c]
mov dword [esp + 0x210], 0xf
mov dword [esp + 0x20c], 0
mov byte [esp + 0x1fc], 0
call fcn.00449ad0
mov ecx, dword [esp + 0x24c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aab4c
mov esp, ebp
pop ebp
ret 0x44