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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x50], edi
call fcn.00477a4a
mov byte [ebp + 0x60], al
test al, al
mov eax, dword [0x4c09b4]
jne 0x47c2b0
cmp eax, dword [edi + 0xbc]
je 0x47c2c2
push dword [ebp + 0x60]
mov ecx, edi
push 0
mov dword [edi + 0xbc], eax
call fcn.0047c033
mov ecx, edi
call fcn.0047983a
mov ecx, dword [edi + 0xc0]
call fcn.0044c3d4
mov eax, dword [edi + 0xc4]
add eax, 0x24
push eax
mov ecx, 0x4c69ec
call fcn.0046f6da
mov eax, dword [edi + 0xc0]
xor esi, esi
xor ebx, ebx
cmp dword [eax + 0x14], esi
je 0x47c38c
mov eax, dword [edi + 0x5c]
add eax, esi
cmp dword [eax], 1
jne 0x47c31c
lea ecx, [eax + 4]
call fcn.0043a24c
mov eax, dword [edi + 0x5c]
lea ecx, [esi + eax + 0x88]
call fcn.0043a24c
mov eax, dword [edi + 0x5c]
mov ecx, dword [esi + eax + 0x80]
call fcn.004433ab
mov eax, dword [edi + 0x5c]
lea ecx, [esi + eax + 0x84]
call fcn.0043a24c
mov eax, dword [edi + 0x5c]
lea ecx, [esi + eax + 0x8c]
call fcn.0043a24c
mov eax, dword [edi + 0x5c]
lea ecx, [esi + eax + 0x90]
call fcn.0043a24c
mov eax, dword [edi + 0x5c]
lea ecx, [esi + eax + 0xc4]
call fcn.0043a24c
mov eax, dword [edi + 0x5c]
lea ecx, [esi + eax + 0xd0]
call fcn.0043a24c
mov eax, dword [edi + 0xc0]
inc ebx
add esi, 0xdc
cmp ebx, dword [eax + 0x14]
jne 0x47c2fb
push dword [edi + 0x5c]
call fcn.00443478
xor esi, esi
pop ecx
mov dword [ebp + 0x58], esi
call fcn.00428703
mov ecx, dword [0x4c2fc4]
mov eax, dword [0x4c0a50]
cmp ecx, esi
je 0x47c3c5
mov edx, dword [0x4c2fbc]
add edx, 0x20
test byte [edx - 0x18], 4
je 0x47c3bf
add eax, dword [edx]
add edx, 0x28
dec ecx
jne 0x47c3b7
xor ecx, ecx
mov edx, 0xdc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00443c1f
mov dword [edi + 0x5c], eax
pop ecx
mov dword [ebp + 0x60], esi
cmp dword [0x4c2fc4], esi
je 0x47c901
and dword [ebp + 0x54], 0
mov eax, dword [0x4c2fbc]
mov ecx, dword [ebp + 0x54]
add eax, ecx
test byte [eax + 8], 4
mov dword [ebp + 0x74], eax
je 0x47c8eb
mov ecx, dword [eax + 0x10]
call fcn.00435349
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c414
sub eax, edx
mov dword [ebp + 0x70], eax
cmp byte [0x4c3bb0], cl
je 0x47c463
mov eax, dword [0x4c3bb4]
cmp eax, 0xffffffff
je 0x47c463
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c465
push 0x20
call sub.MSVCRT.dll_malloc
mov ebx, dword [sym.imp.KERNEL32.DLL_TlsSetValue]
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
jmp 0x47c46b
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, dword [ebp + 0x70]
inc eax
mov dword [esi + 0x14], eax
cmp byte [0x4c3bb0], 0
mov esi, dword [0x4c3bb4]
je 0x47c4b9
cmp esi, 0xffffffff
je 0x47c4b9
push esi
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c4af
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
mov eax, esi
mov esi, dword [0x4c3bb4]
jmp 0x47c4bb
xor eax, eax
mov eax, dword [eax + 0x14]
call section..text
cmp byte [0x4c3bb0], 0
mov dword [ebp + 0x70], esp
je 0x47c4ff
cmp esi, 0xffffffff
je 0x47c4ff
push esi
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c501
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
jmp 0x47c501
xor esi, esi
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x18], eax
cmp byte [0x4c3bb0], 0
mov eax, dword [0x4c3bb4]
je 0x47c54d
cmp eax, 0xffffffff
je 0x47c54d
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c543
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
mov eax, dword [0x4c3bb4]
mov dword [ebp + 0x70], esi
jmp 0x47c551
and dword [ebp + 0x70], 0
cmp byte [0x4c3bb0], 0
je 0x47c58c
cmp eax, 0xffffffff
je 0x47c58c
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c588
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
mov edi, esi
jmp 0x47c58e
xor edi, edi
mov eax, dword [ebp + 0x70]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x10]
call fcn.00435349
mov ecx, dword [edi + 0x18]
push esi
push eax
push ecx
call sub.MSVCRT.dll_memcpy
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x10]
add esp, 0xc
call fcn.00434b97
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x47c5be
sub eax, ecx
sar eax, 1
mov dword [ebp + 0x70], eax
cmp byte [0x4c3bb0], dl
je 0x47c60c
mov eax, dword [0x4c3bb4]
cmp eax, 0xffffffff
je 0x47c60c
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c60e
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
jmp 0x47c60e
xor esi, esi
mov eax, dword [ebp + 0x70]
inc eax
mov dword [esi + 0x14], eax
cmp byte [0x4c3bb0], 0
mov esi, dword [0x4c3bb4]
je 0x47c65c
cmp esi, 0xffffffff
je 0x47c65c
push esi
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c652
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
mov eax, esi
mov esi, dword [0x4c3bb4]
jmp 0x47c65e
xor eax, eax
mov eax, dword [eax + 0x14]
add eax, eax
call section..text
cmp byte [0x4c3bb0], 0
mov dword [ebp + 0x70], esp
je 0x47c6a4
cmp esi, 0xffffffff
je 0x47c6a4
push esi
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c6a6
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
jmp 0x47c6a6
xor esi, esi
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x18], eax
cmp byte [0x4c3bb0], 0
mov eax, dword [0x4c3bb4]
je 0x47c6f1
cmp eax, 0xffffffff
je 0x47c6f1
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c6e8
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call ebx
mov eax, dword [0x4c3bb4]
mov ebx, esi
jmp 0x47c6f3
xor ebx, ebx
cmp byte [0x4c3bb0], 0
je 0x47c732
cmp eax, 0xffffffff
je 0x47c732
push eax
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x47c72e
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov edi, esi
jmp 0x47c734
xor edi, edi
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x10]
mov esi, dword [ebx + 0x14]
call fcn.00434b97
mov ecx, dword [edi + 0x18]
lea edx, [esi + esi]
push edx
push eax
push ecx
call sub.MSVCRT.dll_memcpy
and dword [ebp + 0x6c], 0
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp dword [eax + 0x20], 0
je 0x47c8eb
mov eax, dword [ebp + 0x58]
imul eax, eax, 0xdc
and dword [ebp + 0x70], 0
mov dword [ebp + 0x5c], eax
mov ebx, 0xdc
mov eax, dword [ebp + 0x74]
mov edi, dword [eax + 0x18]
add edi, dword [ebp + 0x70]
and dword [ebp + 0x64], 0
cmp dword [0x4c0a50], 0
je 0x47c804
mov eax, dword [0x4c0a48]
mov ecx, dword [ebp + 0x64]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x47c7f6
cmp dword [esi + 0x1c0], 0
je 0x47c7f6
cmp dword [esi + 0x1cc], 0
je 0x47c7f6
push dword [ebp + 0x48]
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
pop ecx
test eax, eax
jne 0x47c7f6
push dword [edi + 8]
mov eax, dword [esi + 0x1c0]
push eax
call sub.MSVCRT.dll__stricmp
pop ecx
pop ecx
test eax, eax
jne 0x47c7f6
push dword [edi + 4]
mov esi, dword [esi + 0x1cc]
push esi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x47c8d5
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x64]
cmp eax, dword [0x4c0a50]
jne 0x47c792
mov eax, dword [ebp + 0x50]
mov esi, dword [eax + 0x5c]
add esi, dword [ebp + 0x5c]
inc dword [ebp + 0x58]
add dword [ebp + 0x5c], ebx
push ebx
push 0
push esi
call sub.MSVCRT.dll_memset
mov dword [esi], 1
mov ecx, dword [edi + 4]
add esp, 0xc
call fcn.00443bc8
mov dword [esi + 4], eax
test byte [edi + 0x24], 2
je 0x47c842
mov byte [esi + 0x3d], 0xf
mov ecx, dword [0x4cc8b0]
jmp 0x47c84c
mov byte [esi + 0x3d], 0xe
mov ecx, dword [0x4cc8ac]
call fcn.00443bc8
mov dword [esi + 0x84], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x94], eax
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
shl eax, 0x10
or eax, dword [ebp + 0x6c]
mov dword [esi + 0x78], eax
mov ecx, dword [edi + 8]
call fcn.00443b96
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x7c], eax
movzx eax, word [edi + 0x18]
mov dword [esi + 0xa4], eax
movzx eax, word [edi + 0x1a]
mov dword [esi + 0xa8], eax
movzx eax, word [edi + 0x1c]
mov dword [esi + 0xac], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xb0], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0xb4], eax
call fcn.00443bc8
and dword [esi + 0xd0], 0
or dword [esi + 0xd4], 0xffffffff
and dword [esi + 0xd8], 0
mov dword [esi + 0x88], eax
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x6c]
add dword [ebp + 0x70], 0x28
cmp ecx, dword [eax + 0x20]
jne 0x47c77c
inc dword [ebp + 0x60]
mov eax, dword [ebp + 0x60]
add dword [ebp + 0x54], 0x28
cmp eax, dword [0x4c2fc4]
jne 0x47c3f2
mov ecx, dword [0x4c60bc]
test ecx, ecx
je 0x47c915
push 0x4c69ec
call fcn.0040188c
and dword [ebp + 0x5c], 0
cmp dword [0x4c0a50], 0
je 0x47ce44
mov eax, dword [ebp + 0x58]
imul eax, eax, 0xdc
mov dword [ebp + 0x60], eax
mov eax, dword [0x4c0a48]
mov ecx, dword [ebp + 0x5c]
mov edi, dword [eax + ecx*4]
test byte [edi + 0x45], 2
je 0x47ce32
mov eax, dword [ebp + 0x50]
mov esi, dword [eax + 0x5c]
add esi, dword [ebp + 0x60]
inc dword [ebp + 0x58]
add dword [ebp + 0x60], 0xdc
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 0x78], edi
mov ecx, dword [edi + 0x1c0]
call fcn.00443b96
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0xd0]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0xd4]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0xe8]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0xec]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0xd8]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0x2c], eax
mov eax, ecx
sub eax, dword [edi + 0x10c]
mov ecx, dword [esi + 0xc]
sbb ecx, dword [edi + 0x110]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, edi
call fcn.004050e8
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
test byte [edi + 0x44], 0x10
je 0x47c9fc
mov ecx, edi
call fcn.00409c50
cmp eax, 0xffffffff
je 0x47c9fc
xor eax, eax
inc eax
jmp 0x47c9fe
xor eax, eax
mov byte [esi + 0x38], al
mov eax, dword [edi + 0x114]
mov dword [esi + 0xc0], eax
mov al, byte [edi + 0x40]
mov byte [esi + 0xcc], al
mov al, byte [edi + 0x3f]
mov ecx, edi
mov byte [esi + 0xcd], al
call fcn.0040509e
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x144]
mov dword [esi + 0x94], eax
mov eax, dword [edi + 0x148]
mov dword [esi + 0x98], eax
mov eax, dword [edi + 0x14c]
mov dword [esi + 0x9c], eax
mov eax, dword [edi + 0x180]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x17c]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x174]
mov dword [esi + 0xa0], eax
mov eax, dword [edi + 0x1d0]
mov dword [esi + 0xa4], eax
mov eax, dword [edi + 0x1d4]
mov dword [esi + 0xa8], eax
mov eax, dword [edi + 0x1d8]
mov dword [esi + 0xac], eax
mov eax, dword [edi + 0x1dc]
mov dword [esi + 0xb0], eax
mov eax, dword [edi + 0x1e0]
or dword [esi + 0xc8], 0xffffffff
mov dword [esi + 0xb4], eax
mov dword [esi + 0xc4], ebx
mov eax, dword [edi + 0x1c8]
cmp eax, ebx
je 0x47caf5
mov ecx, dword [0x4c0910]
push eax
call fcn.0040311e
mov ebx, eax
test ebx, ebx
je 0x47caf5
mov ecx, dword [ebx + 0x44]
call fcn.00439cf8
mov ecx, eax
call fcn.00439f5a
mov ecx, eax
call fcn.00443bc8
mov dword [esi + 0xc4], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0xc8], eax
mov ecx, edi
call fcn.00405025
mov word [esi + 0x3a], ax
push 7
lea eax, [esi + 0x48]
push eax
mov ecx, edi
call fcn.00406e5e
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
cmp eax, edx
jbe 0x47cb2a
mov ecx, eax
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
sub ecx, edx
cmp eax, ecx
jb 0x47cb2a
sub eax, ecx
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x54]
cmp ecx, eax
jbe 0x47cb36
mov eax, ecx
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x1b4]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x1b0]
mov ecx, edi
mov dword [esi + 0x60], eax
call fcn.00407484
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x3c]
mov byte [esi + 0x3c], al
lea eax, [esi + 0x84]
push eax
lea eax, [esi + 0x3d]
push eax
mov ecx, edi
call fcn.004062a2
mov dword [esi + 0x40], 0xff5050
test byte [edi + 0x43], 0x10
je 0x47cb85
test byte [esi + 0x3c], 0x41
je 0x47cb85
xor eax, eax
inc eax
jmp 0x47cb87
xor eax, eax
mov byte [esi + 0x45], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0xbc], eax
mov eax, dword [edi + 0x25c]
mov dword [esi + 0x88], eax
mov al, byte [edi + 0x48]
mov byte [esi + 0x46], al
xor ebx, ebx
lea eax, [edi + 0x88]
cmp dword [eax], ebx
mov dword [esi + 0x8c], ebx
setne cl
mov byte [esi + 0x44], cl
mov eax, dword [eax]
cmp eax, ebx
je 0x47cbeb
mov edx, dword [edi + 0x80]
mov ecx, dword [edx]
test byte [ecx + 0x3a], 2
je 0x47cbd9
inc ebx
add edx, 4
cmp ebx, eax
jne 0x47cbc7
jmp 0x47cbeb
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov dword [esi + 0x8c], eax
mov byte [esi + 0x44], 0
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x47cc00
call fcn.00443bc8
mov dword [esi + 0x8c], eax
mov ebx, dword [ebp + 0x50]
lea eax, [esi + 0x90]
and dword [eax], 0
mov ecx, dword [ebx + 0xc0]
mov ecx, dword [ecx + 0x2c]
mov cl, byte [ecx + 0x1c]
shr cl, 7
not cl
test cl, 1
je 0x47cc32
push 0
lea ecx, [ebp + 0x4c]
push ecx
push eax
xor edx, edx
mov ecx, edi
call fcn.00414d92
or dword [esi + 0xb8], 0xffffffff
mov eax, dword [ebx + 0xc0]
mov eax, dword [eax + 0x2c]
mov al, byte [eax + 0x14]
shr al, 7
not al
test al, 1
je 0x47cc6a
test byte [edi + 0x1fc], 1
jne 0x47cc5e
mov ecx, edi
call fcn.00406f85
mov eax, dword [edi + 0x1f8]
mov dword [esi + 0xb8], eax
or dword [esi + 0xd4], 0xffffffff
xor eax, eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd8], eax
cmp dword [0x4c60bc], eax
je 0x47ce18
mov edi, dword [edi]
mov ebx, dword [edi + 8]
cmp ebx, eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x70], eax
mov byte [ebp + 0x6b], al
mov byte [ebp + 0x69], al
mov byte [ebp + 0x6a], al
jle 0x47cd07
mov eax, dword [edi]
add eax, 0x23
mov dword [ebp + 0x54], ebx
mov cl, byte [eax]
cmp cl, 4
jne 0x47ccbd
inc dword [ebp + 0x6c]
jmp 0x47ccc8
cmp cl, 5
jne 0x47ccd5
inc dword [ebp + 0x6c]
inc dword [ebp + 0x64]
mov ecx, dword [eax + 5]
cmp ecx, dword [ebp + 0x74]
jle 0x47ccff
mov dword [ebp + 0x74], ecx
jmp 0x47ccff
cmp cl, 3
jne 0x47cce0
mov byte [ebp + 0x6b], 1
jmp 0x47ccff
cmp cl, 1
jne 0x47ccea
mov byte [ebp + 0x6a], cl
jmp 0x47ccff
cmp cl, 2
jne 0x47ccff
mov ecx, dword [0x4c60bc]
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x70], ecx
mov byte [ebp + 0x69], 1
add eax, 0x34
dec dword [ebp + 0x54]
jne 0x47ccb1
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x36]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp byte [ebp + 0x69], 0
je 0x47cd3a
push dword [0x4cc880]
push dword [ebp + 0x70]
push str.__d_____s
call fcn.0043b722
add esp, 0xc
jmp 0x47cd59
cmp byte [ebp + 0x6b], 0
je 0x47cd48
mov ecx, dword [0x4cc87c]
jmp 0x47cd54
cmp byte [ebp + 0x6a], 0
je 0x47cd72
mov ecx, dword [0x4cc878]
call fcn.00443bc8
mov dword [esi + 0xd0], eax
mov eax, dword [0x4c60bc]
mov eax, dword [eax + 0x20]
mov dword [esi + 0xd4], eax
jmp 0x47ce18
xor eax, eax
cmp dword [ebp + 0x64], eax
jle 0x47cdb0
cmp dword [ebp + 0x64], 1
mov eax, dword [0x4cc870]
jg 0x47cd89
mov eax, dword [0x4cc874]
push eax
push dword [ebp + 0x64]
push 0x4a3344
call fcn.0043b722
add esp, 0xc
mov dword [esi + 0xd4], 6
mov dword [esi + 0xd8], 0x2429d3
jmp 0x47ce12
cmp dword [ebp + 0x6c], ebx
jne 0x47cdcf
cmp dword [ebp + 0x74], eax
je 0x47cdfc
push 0
push dword [ebp + 0x74]
lea ecx, [ebp - 0x38]
push 0x40
pop edx
call fcn.004435f3
lea ecx, [ebp - 0x38]
jmp 0x47ce0d
cmp dword [ebp + 0x74], eax
je 0x47cdfc
push 0
push dword [ebp + 0x74]
lea ecx, [ebp - 0x38]
push 0x40
pop edx
call fcn.004435f3
lea eax, [ebp - 0x38]
push eax
push ebx
push dword [ebp + 0x6c]
push dword [0x4cc868]
call fcn.0043b722
add esp, 0x10
jmp 0x47ce12
mov ecx, edi
call fcn.0041ea2d
test al, al
je 0x47ce18
mov ecx, dword [0x4cc86c]
call fcn.00443bc8
mov dword [esi + 0xd0], eax
cmp byte [0x4c62f0], 0
je 0x47ce32
mov ecx, esi
call fcn.00476a05
mov eax, dword [eax*4 + 0x4b7b70]
mov dword [esi + 0x40], eax
inc dword [ebp + 0x5c]
mov eax, dword [ebp + 0x5c]
cmp eax, dword [0x4c0a50]
jne 0x47c932
mov ecx, dword [0x4c60bc]
test ecx, ecx
je 0x47ce55
push 0
call fcn.00402b70
push dword [0x4c69ec]
mov esi, dword [ebp + 0x50]
push 1
push 0x1003
push 0x1b
mov ecx, esi
call fcn.0044df0d
call fcn.00428714
push dword [ebp + 0x58]
mov ecx, dword [esi + 0xc0]
push dword [esi + 0x5c]
call fcn.0044b166
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret