Function at 0x439ca0
Capabilities:
Create thread
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477c3c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4bb050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x14c], ebx
call fcn.00434790
lea edi, [ebx + 0x124]
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00434790
lea ecx, [ebp - 0x134]
mov dword [ebx + 0x248], 0
call fcn.00434790
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
call fcn.00436660
test al, al
jne 0x439d87
mov edi, dword [ebp - 0x144]
test edi, edi
je 0x439fa3
mov esi, edi
mov edi, dword [esi + 0x124]
test esi, esi
je 0x439d7e
mov dword [esi], vtable.t_str.0
cmp byte [esi + 0x11c], 0
jne 0x439d70
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
cmp ecx, eax
je 0x439d70
push ecx
call fcn.0045dc2d
add esp, 4
push 0x128
push esi
call fcn.00459e5c
add esp, 8
test edi, edi
jne 0x439d42
jmp 0x439fa3
cmp byte [ebp - 0x18], 0
lea ecx, [ebp - 0x128]
mov eax, 0x49badc
cmove ecx, dword [ebp - 0x12c]
add ecx, 4
mov dword [ebp - 0x138], ecx
cmovne eax, ecx
mov ecx, eax
mov dword [ebp - 0x13c], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439db4
sub ecx, edx
sar ecx, 1
mov dword [ebx + 4], ecx
lea eax, [ecx + 1]
push eax
lea ecx, [ebx + 8]
mov dword [ebp - 0x148], eax
call fcn.00435000
cmp byte [ebx + 0x11c], 0
lea ecx, [ebx + 0xc]
jne 0x439de7
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x148]
add ecx, 4
add eax, eax
push eax
push dword [ebp - 0x13c]
push ecx
call fcn.0045b7a0
push 0x49b470
push 0x49c2fc
push ebx
call fcn.00434d80
push 0x49da88
push 0x49c2fc
push ebx
call fcn.00434d80
mov eax, dword [ebp - 0x138]
add esp, 0x24
test eax, eax
mov ecx, 0x49badc
cmovne ecx, eax
mov dword [ebp - 0x13c], ecx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439e40
sub ecx, edx
sar ecx, 1
mov dword [edi + 4], ecx
lea eax, [ecx + 1]
push eax
lea ecx, [edi + 8]
mov dword [ebp - 0x138], eax
call fcn.00435000
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x439e73
mov ecx, dword [edi + 8]
mov eax, dword [ebp - 0x138]
add ecx, 4
add eax, eax
push eax
push dword [ebp - 0x13c]
push ecx
call fcn.0045b7a0
push 0x49b470
push 0x49c2fc
push edi
call fcn.00434d80
push str.sign.ini
push 0x49c2fc
push edi
call fcn.00434d80
push 0x234
call fcn.00459e2c
add esp, 0x28
mov dword [ebp - 0x138], eax
push str.Localcs_logsignature
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00439560
cmp byte [0x4c5a70], 0
mov dword [ebx + 0x24c], eax
jne 0x439f59
cmp byte [0x4c5a71], 0
je 0x439f59
cmp dword [0x4bbad4], 0
je 0x439f43
push 0xc
call fcn.0045dc48
mov esi, eax
add esp, 4
cmp dword [0x4bbad4], 0
mov dword [esi], 0x43a550
mov dword [esi + 4], ebx
jne 0x439f22
mov dword [esi + 8], 0
push esi
call fcn.0045dc2d
add esp, 4
xor eax, eax
jmp 0x439f53
push dword [0x4bbadc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 8], eax
test eax, eax
je 0x439f15
lock inc dword [eax + 4]
push esi
push 0
push 0x453110
jmp 0x439f4b
push ebx
push 0
push 0x43a550
call fcn.0045de29
add esp, 0xc
mov dword [ebx + 0x248], eax
mov edi, dword [ebp - 0x144]
test edi, edi
je 0x439fa3
mov esi, edi
mov edi, dword [esi + 0x124]
test esi, esi
je 0x439f9f
mov dword [esi], vtable.t_str.0
cmp byte [esi + 0x11c], 0
jne 0x439f91
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
cmp ecx, eax
je 0x439f91
push ecx
call fcn.0045dc2d
add esp, 4
push 0x128
push esi
call fcn.00459e5c
add esp, 8
test edi, edi
jne 0x439f63
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x439fcc
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x439fcc
push eax
call fcn.0045dc2d
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a329
mov esp, ebp
pop ebp
ret