Function at 0x403120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x288]
push ebx
sub esp, 0x2ac
mov dword [esp + 4], eax
mov eax, dword [0x40c0b8]
mov dword [esp], eax
call dword [0x40c154]
lea eax, [ebp - 0x288]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp + 8], 0x64
mov dword [esp], eax
call dword [0x40c150]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x34c
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
call fcn.00406f20
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.expected__1__got__d_n
mov dword [esp], eax
call fcn.00407190
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [0x40c0ac]
mov dword [esp], eax
call dword [0x40c154]
lea eax, [ebp - 0x288]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp + 8], 0x64
mov dword [esp], eax
call dword [0x40c150]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x350
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
call fcn.00406f20
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.expected_0__got__d_n
mov dword [esp], eax
call fcn.00407190
lea eax, [ebp - 0x288]
mov dword [esp + 8], 0x64
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp], eax
call dword [0x40c150]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x353
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
call fcn.00406f20
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.expected_0__got__d_n
mov dword [esp], eax
call fcn.00407190
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [0x40c154]
lea eax, [ebp - 0x288]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp + 8], 0x64
mov dword [esp], eax
call dword [0x40c150]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x357
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
call fcn.00406f20
xor eax, eax
cmp ebx, 0xffffffff
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.expected__1__got__d_n
mov dword [esp], eax
call fcn.00407190
lea eax, [ebp - 0x288]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x401040
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x294], eax
call eax
sub esp, 0x18
mov ebx, eax
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [0x40c0a8]
mov dword [esp + 8], 0x1388
mov dword [esp], eax
call dword [0x40c150]
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x35b
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
call fcn.00406f20
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.expected_0__got__d_n
mov dword [esp], eax
call fcn.00407190
mov eax, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
mov dword [ebp - 0x28c], eax
call eax
mov eax, dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 8
mov dword [esp], ebx
lea ebx, [ebp - 0x248]
mov dword [ebp - 0x290], eax
mov esi, ebx
call eax
mov edi, dword [sym.imp.msvcrt.dll_malloc]
sub esp, 4
mov dword [esp], 0x40
add esi, 4
call edi
mov dword [esi - 4], eax
mov dword [esp + 4], eax
mov eax, dword [0x40c0b8]
mov dword [esp], eax
call dword [0x40c154]
lea eax, [ebp - 0x130]
sub esp, 8
cmp esi, eax
jne 0x4033a2
lea eax, [ebp - 0x248]
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x40c0a4]
mov dword [esp + 4], 0x368
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
mov esi, eax
call fcn.00406f20
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.expected_0__got__d_n
mov dword [esp], eax
call fcn.00407190
lea eax, [ebp - 0x248]
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 1
mov dword [esp + 4], 0x46
mov dword [esp], eax
call dword [0x40c0a4]
mov dword [esp + 4], 0x36b
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
mov esi, eax
call fcn.00406f20
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.expected__1__got__d_n
xor esi, esi
mov dword [esp], eax
call fcn.00407190
mov edi, dword [ebp - 0x294]
lea esi, [esi]
mov eax, dword [ebp + esi*4 - 0x248]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x401040
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebp + esi*4 - 0x130], eax
add esi, 1
sub esp, 0x18
cmp esi, 0x46
jne 0x403490
lea eax, [ebp - 0x248]
mov dword [esp + 0xc], 0x1388
lea edi, [ebp - 0x130]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x46
mov dword [esp], eax
call dword [0x40c0a4]
mov dword [esp + 4], 0x372
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
mov esi, eax
call fcn.00406f20
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.didnt_expect__1_n
setne al
mov dword [esp], eax
call fcn.00407190
mov dword [ebp - 0x298], ebx
mov ebx, edi
mov edi, dword [ebp - 0x290]
nop
mov esi, dword [ebx]
mov eax, dword [ebp - 0x28c]
mov dword [esp + 4], 0xffffffff
add ebx, 4
mov dword [esp], esi
call eax
sub esp, 8
mov dword [esp], esi
call edi
lea eax, [ebp - 0x18]
sub esp, 4
cmp ebx, eax
jne 0x403540
mov eax, dword [ebp - 0x248]
mov ebx, dword [ebp - 0x298]
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [0x40c154]
mov eax, dword [ebp - 0x248]
sub esp, 8
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x401040
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
lea edx, [ebp - 0x248]
sub esp, 0x18
mov esi, eax
mov dword [esp], edx
mov dword [esp + 0xc], 0x1388
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call dword [0x40c0a4]
mov dword [esp + 4], 0x37e
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
mov edi, eax
call fcn.00406f20
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.expected_0__got__d_n
lea edi, [ebp - 0x248]
mov dword [esp], eax
call fcn.00407190
mov edx, dword [ebp - 0x28c]
mov dword [esp], esi
mov dword [esp + 4], 0xffffffff
call edx
mov ecx, dword [ebp - 0x290]
sub esp, 8
mov dword [esp], esi
call ecx
mov eax, dword [ebp - 0x248]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [0x40c154]
mov eax, dword [ebp - 0x244]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [0x40c154]
mov eax, dword [ebp - 0x294]
sub esp, 8
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x403820
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x18
mov esi, eax
mov dword [esp], edi
mov dword [esp + 0xc], 0x1f4
mov dword [esp + 8], 1
mov dword [esp + 4], 2
call dword [0x40c0a4]
mov dword [esp + 4], 0x386
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
mov edi, eax
call fcn.00406f20
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.expected__1__got__d_n
mov dword [esp], eax
call fcn.00407190
mov edx, dword [ebp - 0x28c]
mov dword [esp], esi
mov dword [esp + 4], 0xffffffff
call edx
mov ecx, dword [ebp - 0x290]
sub esp, 8
mov dword [esp], esi
call ecx
mov eax, dword [ebp - 0x248]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [0x40c0b0]
mov dword [esp], eax
call dword [0x40c154]
mov eax, dword [ebp - 0x244]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [0x40c0ac]
mov dword [esp], eax
call dword [0x40c154]
lea eax, [ebp - 0x248]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x40c0a4]
mov dword [esp + 4], 0x38d
mov dword [esp], str..._wine_dlls_msvcr100_tests_msvcr100.c
mov esi, eax
call fcn.00406f20
xor eax, eax
cmp esi, 1
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.expected_1__got__d_n
mov dword [esp], eax
call fcn.00407190
mov esi, dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 4], eax
mov eax, dword [0x40c0b4]
mov dword [esp], eax
call dword [0x40c154]
mov eax, dword [ebx - 4]
sub esp, 8
mov dword [esp], eax
call esi
lea eax, [ebp - 0x130]
cmp ebx, eax
jne 0x4037c5
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [0x40c0b4]
mov dword [esp], eax
call dword [0x40c154]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret