Function at 0x40b820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x427fd9
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe4]
mov edi, ecx
mov esi, edx
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0xdc], 0
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0xdc], 1
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0xdc], 2
test esi, esi
jne 0x40b8bd
xor eax, eax
jmp 0x40b8d1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b8c2
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x38]
call fcn.00401470
test edi, edi
jne 0x40b8e5
xor eax, eax
jmp 0x40b8ff
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b8f0
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
lea eax, [esp + 0x28]
call fcn.00401470
test ebp, ebp
jne 0x40b913
xor eax, eax
jmp 0x40b92f
mov eax, ebp
lea edx, [eax + 2]
jmp 0x40b920
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b920
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x48]
call fcn.00401470
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0xdc], 4
mov dword [esp + 0x2c], eax
push 4
call fcn.0041794f
xor esi, esi
add esp, 4
cmp eax, esi
je 0x40b988
lea ecx, [esp + 0x4c]
mov dword [eax], ecx
jmp 0x40b98a
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov byte [esp + 0xdc], 6
mov dword [esp + 0x30], esi
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
cmp esi, 2
mov byte [esp + 0xdc], 7
jge 0x40ba5e
mov edx, dword [esi*4 + 0x43ee2c]
lea ecx, [esp + 0xa8]
call fcn.00414980
mov byte [esp + 0xdc], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x40ba4d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40ba3c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40ba3c
call fcn.00401510
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40ba21
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebp, [ebx + 0x10]
mov byte [esp + 0xdc], 7
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], ebp
jmp 0x40badc
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00401470
mov ebp, dword [esp + 0x18]
mov byte [esp + 0xdc], 7
mov eax, dword [esp + 0xa8]
jmp 0x40badc
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.0040a0e0
add esp, 8
mov byte [esp + 0xdc], 9
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x40bacd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40babc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40babc
call fcn.00401510
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40bab3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebp, [ebx + 0x10]
mov dword [esp + 0x18], ebp
jmp 0x40bacd
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.00401470
mov ebp, dword [esp + 0x18]
mov byte [esp + 0xdc], 7
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40baf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov eax, esi
sub eax, ebx
xor edi, edi
sar eax, 2
mov dword [esp + 0x14], edi
cmp eax, edi
jbe 0x40bb94
xor ecx, ecx
cmp ebp, edi
setne cl
mov dword [esp + 0x38], ecx
cmp edi, eax
jb 0x40bb31
call fcn.004178ba
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x38], 0
je 0x40c6a7
mov eax, dword [ebx + edi*4]
mov ecx, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bb67
test dx, dx
je 0x40bb63
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bb67
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bb41
xor eax, eax
jmp 0x40bb6c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x40bb7d
mov dword [esp + 0x14], 1
mov eax, esi
sub eax, ebx
inc edi
sar eax, 2
cmp edi, eax
jb 0x40bb31
cmp dword [esp + 0x14], 0
jne 0x40c5e1
test ebx, ebx
jne 0x40bb9c
xor eax, eax
jmp 0x40bba5
mov eax, dword [esp + 0x60]
sub eax, ebx
sar eax, 2
mov edx, esi
sub edx, ebx
sar edx, 2
cmp edx, eax
jae 0x40bbde
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x98], 0
mov eax, dword [esp + 0x98]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push 1
push esi
call fcn.0040dec0
add esp, 0x14
add esi, 4
mov dword [esp + 0x5c], esi
jmp 0x40bc03
cmp ebx, esi
jbe 0x40bbe7
call fcn.004178ba
mov eax, dword [esp + 0x4c]
push esi
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea eax, [esp + 0x5c]
call fcn.0040d4c0
push 4
call fcn.0041794f
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x40bc1b
lea edx, [esp + 0x64]
mov dword [eax], edx
jmp 0x40bc1d
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov byte [esp + 0xdc], 0xb
mov dword [esp + 0x38], ecx
lea esp, [esp]
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
mov byte [esp + 0xdc], 0xc
test eax, eax
jne 0x40bd8f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
call fcn.00403280
mov byte [esp + 0xdc], 0xd
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.004056c0
add esp, 8
mov byte [esp + 0xdc], 0xe
mov edi, dword [eax]
test edi, edi
je 0x40bcfd
mov ebp, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call ebp
mov esi, eax
dec esi
test esi, esi
jle 0x40bcfd
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40bcde
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.004015f0
mov ebx, dword [esp + 0x1c]
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call ebp
cmp esi, dword [ebx - 8]
jg 0x40c6b1
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
jmp 0x40bd50
cmp dword [ebx - 0xc], 0
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
je 0x40bd50
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40bd2a
cmp dword [ebx - 8], 0
jl 0x40c6b1
xor eax, eax
mov dword [ebx - 0xc], 0
mov word [ebx], ax
jmp 0x40bd50
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xdc], 0xd
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0x90]
jmp 0x40bff5
cmp eax, 1
jne 0x40bf0e
mov esi, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40bdcb
cmp eax, dword [esi]
jne 0x40bdcb
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40be06
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40c724
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00416f35
add esp, 0x10
lea ecx, [esp + 0xa8]
add edi, 0x10
push ecx
mov dword [ebp], edi
call fcn.0040aaa0
add esp, 0xc
mov byte [esp + 0xdc], 0xf
mov edi, dword [eax]
test edi, edi
je 0x40be95
mov ebp, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call ebp
mov esi, eax
dec esi
test esi, esi
jle 0x40be95
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40be64
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.004015f0
mov ebx, dword [esp + 0x1c]
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call ebp
cmp esi, dword [ebx - 8]
jg 0x40c6b1
mov dword [ebx - 0xc], esi
xor edx, edx
mov word [ebx + esi*2], dx
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0xa0]
jmp 0x40bff5
cmp dword [ebx - 0xc], 0
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
je 0x40befa
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40bed4
cmp dword [ebx - 8], 0
jl 0x40c6b1
xor eax, eax
mov dword [ebx - 0xc], 0
mov word [ebx], ax
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0xa0]
jmp 0x40bff5
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40beea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0xa0]
jmp 0x40bff5
cmp eax, 2
jne 0x40c011
lea ecx, [esp + 0x9c]
push str.down.hjkl45678.xyz
push ecx
call fcn.004056c0
add esp, 8
mov byte [esp + 0xdc], 0x10
mov edi, dword [eax]
test edi, edi
je 0x40bf93
mov ebp, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call ebp
mov esi, eax
dec esi
test esi, esi
jle 0x40bf93
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40bf74
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.004015f0
mov ebx, dword [esp + 0x1c]
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call ebp
cmp esi, dword [ebx - 8]
jg 0x40c6b1
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
jmp 0x40bfe6
cmp dword [ebx - 0xc], 0
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
je 0x40bfe6
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40bfc0
cmp dword [ebx - 8], 0
jl 0x40c6b1
xor eax, eax
mov dword [ebx - 0xc], 0
mov word [ebx], ax
jmp 0x40bfe6
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c011
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov eax, esi
sub eax, ebp
xor edi, edi
sar eax, 2
mov dword [esp + 0x14], edi
cmp eax, edi
jbe 0x40c0b3
xor ecx, ecx
cmp ebx, edi
setne cl
mov dword [esp + 0x28], ecx
cmp edi, eax
jb 0x40c04a
call fcn.004178ba
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
cmp dword [esp + 0x28], 0
je 0x40c6a7
mov eax, dword [ebp + edi*4]
mov ecx, ebx
jmp 0x40c060
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c086
test dx, dx
je 0x40c082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c086
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c060
xor eax, eax
jmp 0x40c08b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x40c09c
mov dword [esp + 0x14], 1
mov eax, esi
sub eax, ebp
inc edi
sar eax, 2
cmp edi, eax
jb 0x40c04a
cmp dword [esp + 0x14], 0
jne 0x40c526
test ebp, ebp
jne 0x40c0bb
xor eax, eax
jmp 0x40c0c4
mov eax, dword [esp + 0x78]
sub eax, ebp
sar eax, 2
mov edx, esi
sub edx, ebp
sar edx, 2
cmp edx, eax
jae 0x40c0f7
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
push 1
push esi
call fcn.0040dec0
add esp, 0x14
add esi, 4
mov dword [esp + 0x74], esi
jmp 0x40c11c
cmp ebp, esi
jbe 0x40c100
call fcn.004178ba
mov eax, dword [esp + 0x64]
push esi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xcc]
push ecx
lea eax, [esp + 0x74]
call fcn.0040d4c0
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x40c143
cmp eax, dword [ebx]
jne 0x40c143
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40c17e
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40c724
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00416f35
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x28], esi
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0xe0], 0x11
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push esi
push ebp
push eax
call fcn.0040aec0
mov edi, eax
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0xdc], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
test edi, edi
je 0x40c3dd
mov byte [esp + 0xdc], 0x12
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x40c21c
cmp eax, dword [ebx]
jne 0x40c21c
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40c257
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40c724
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00416f35
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push esi
push ebp
push edx
mov byte [esp + 0xe8], 0x13
mov ecx, dword [esp + 0x38]
push eax
push ecx
push str._d__d__d__s___s_ok
lea edi, [esp + 0x2c]
call fcn.004016f0
lea eax, [esi - 0x10]
add esp, 0x18
mov byte [esp + 0xdc], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c2ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00403280
mov byte [esp + 0xdc], 0x14
mov esi, dword [eax]
call fcn.00401ad0
mov byte [esp + 0xdc], 0x12
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c2f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x34]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
lea ebp, [esp + 0x80]
mov dword [esp + 0x2c], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40c32c
cmp eax, dword [esi]
jne 0x40c32c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40c367
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40c724
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00416f35
add esp, 0x10
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
add edi, 0x10
push edx
mov dword [ecx], edi
call fcn.00409030
mov byte [esp + 0xe4], 0x15
mov eax, dword [eax]
push eax
lea eax, [esp + 0xb8]
push eax
mov ecx, ebp
call fcn.0040b230
mov esi, eax
mov byte [esp + 0xec], 0x12
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40c6bb
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40c4ea
mov byte [esp + 0xdc], 0x16
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x40c408
cmp eax, dword [ebx]
jne 0x40c408
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40c443
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40c724
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00416f35
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push esi
push ebp
push edx
mov byte [esp + 0xe8], 0x17
mov ecx, dword [esp + 0x38]
push eax
push ecx
push str._d__d__d__s___s_err
lea edi, [esp + 0x2c]
call fcn.004016f0
lea eax, [esi - 0x10]
add esp, 0x18
mov byte [esp + 0xdc], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00403280
mov byte [esp + 0xdc], 0x18
mov esi, dword [eax]
call fcn.00401ad0
mov byte [esp + 0xdc], 0x16
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c4df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0xc
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c503
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0xb
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c54a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x40c54a
lea eax, [ebx - 0x10]
mov byte [esp + 0xdc], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c54a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 3
mov dword [esp + 0x38], eax
jl 0x40bc40
mov byte [esp + 0xdc], 7
mov esi, dword [esp + 0x70]
xor ebx, ebx
cmp esi, ebx
je 0x40c5aa
mov eax, dword [esp + 0x74]
mov edi, eax
cmp esi, eax
je 0x40c5a1
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c596
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x40c578
mov esi, dword [esp + 0x70]
push esi
call fcn.00416b59
add esp, 4
mov ecx, dword [esp + 0x64]
push ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00416b59
mov byte [esp + 0xe0], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40c5f9
lea eax, [ebp - 0x10]
mov byte [esp + 0xdc], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x30]
inc esi
cmp esi, 3
mov dword [esp + 0x30], esi
jl 0x40b9a6
push 0x7530
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov byte [esp + 0xdc], 4
mov esi, dword [esp + 0x58]
xor ebx, ebx
cmp esi, ebx
je 0x40c672
mov eax, dword [esp + 0x5c]
mov edi, eax
cmp esi, eax
je 0x40c669
mov edi, edi
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c65e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x40c640
mov esi, dword [esp + 0x58]
push esi
call fcn.00416b59
add esp, 4
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.00416b59
mov eax, dword [esp + 0x30]
inc eax
add esp, 4
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x40b970
mov esi, 0x42fae8
jmp 0x40cda9
push 0x80004005
call fcn.00401790
push 0x80070057
call fcn.00401790
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x18]
mov edi, dword [edx]
lea ebp, [eax - 0x10]
sub edi, 0x10
cmp ebp, edi
je 0x40c77b
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40c770
mov ecx, dword [ebp]
cmp ecx, dword [edi]
jne 0x40c770
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x40c710
cmp eax, dword [ebp]
jne 0x40c710
mov esi, ebp
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40c74c
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x40c729
call fcn.004015e0
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00416f35
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x40c762
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0xe8]
add esi, 0x10
mov dword [eax], esi
jmp 0x40c77b
mov ebx, dword [eax - 0xc]
push eax
mov eax, edx
call fcn.00401470
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x1c]
mov ebx, dword [ecx]
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
je 0x40c83e
cmp dword [ebx + 0xc], 0
jl 0x40c82e
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40c82e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40c7cb
cmp eax, dword [esi]
jne 0x40c7cb
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40c807
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40c7e4
call fcn.004015e0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00416f35
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40c820
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0xec]
add edi, 0x10
mov dword [eax], edi
jmp 0x40c83e
mov ebx, dword [eax - 0xc]
push eax
mov eax, dword [esp + 0xf0]
call fcn.00401470
mov byte [esp + 0xdc], 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0xb
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c887
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0xdc], 7
mov esi, dword [esp + 0x70]
test esi, esi
je 0x40c8d3
mov eax, dword [esp + 0x74]
mov edi, eax
cmp esi, eax
je 0x40c8ca
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c8bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x40c8a1
mov esi, dword [esp + 0x70]
push esi
call fcn.00416b59
add esp, 4
mov ecx, dword [esp + 0x64]
xor ebx, ebx
push ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00416b59
add esp, 4
mov byte [esp + 0xdc], 6
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40c910
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0xdc], 4
mov esi, dword [esp + 0x58]
cmp esi, ebx
je 0x40c962
mov eax, dword [esp + 0x5c]
mov edi, eax
cmp esi, eax
je 0x40c959
lea ebx, [ebx]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c94e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x40c930
mov esi, dword [esp + 0x58]
push esi
call fcn.00416b59
add esp, 4
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.00416b59
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x43f30c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xdc], 0x19
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x40]
call fcn.004147a0
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0xe8]
mov byte [esp + 0xdc], 0x1a
mov edx, dword [ecx]
push 0
lea ecx, [esp + 0x44]
call fcn.004147a0
add esp, 4
mov edi, eax
mov byte [esp + 0xdc], 0x1b
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x4c]
call fcn.004147a0
add esp, 4
mov ebp, eax
mov byte [esp + 0xdc], 0x1c
mov ebx, dword [esp + 0x34]
push 0
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.004147a0
add esp, 4
mov byte [esp + 0xdc], 0x1d
mov edx, dword [esi]
mov ecx, dword [edi]
mov eax, dword [eax]
push edx
mov edx, dword [ebp]
push ecx
push 2
push edx
push eax
push str.__u__s__a__s__rt__d__d__s__apdparam__s
lea edi, [esp + 0x2c]
call fcn.004016f0
mov byte [esp + 0xf4], 0x1c
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0x1b
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0x1a
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40caa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0x19
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cacf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00409a60
mov ebp, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x40cb4f
xor edi, edi
lea esi, [esp + 0x20]
call fcn.00415a00
mov byte [esp + 0xdc], 0x1e
mov eax, dword [eax]
push eax
push ebp
push ebx
call fcn.00401130
mov esi, eax
mov byte [esp + 0xe8], 0x19
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40cb68
push 0x1e
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x40caf2
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00409210
add esp, 8
xor edi, edi
mov dword [esp + 0x30], edi
mov edi, edi
lea esi, [esp + 0x20]
call fcn.00415a00
mov byte [esp + 0xdc], 0x1f
mov eax, dword [eax]
push eax
push ebp
push ebx
call fcn.00401130
mov esi, eax
mov byte [esp + 0xe8], 0x19
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cbb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40cbcf
push 0x1e
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc edi
cmp edi, 0x3e8
jl 0x40cb70
jmp 0x40cbd7
mov dword [esp + 0x30], 1
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xdc], 0x20
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x40]
call fcn.004147a0
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0xe8]
mov byte [esp + 0xdc], 0x21
mov edx, dword [ecx]
push 0
lea ecx, [esp + 0x44]
call fcn.004147a0
add esp, 4
mov edi, eax
mov byte [esp + 0xdc], 0x22
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x4c]
call fcn.004147a0
add esp, 4
mov ebp, eax
push 0
mov edx, ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 0x23
call fcn.004147a0
add esp, 4
mov byte [esp + 0xdc], 0x24
mov edx, dword [esi]
mov ecx, dword [edi]
mov eax, dword [eax]
push edx
mov edx, dword [ebp]
push ecx
push 2
push edx
push eax
push str.__u__s__a__s__rt__d__d__s__apdparam__s
lea edi, [esp + 0x44]
call fcn.004016f0
mov byte [esp + 0xf4], 0x23
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ccaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0x22
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ccd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0x21
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ccff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0x20
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
push ecx
push edx
mov edx, dword [esp + 0x84]
push ebx
mov ecx, esi
call fcn.0040b400
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0xdc], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], 0
jne 0x40cda4
mov esi, 0x42fae8
jmp 0x40cda9
mov esi, 0x42faec
call fcn.00401ad0
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x40cdbf
push eax
call fcn.00416b73
add esp, 4
mov eax, dword [esp + 0xac]
test eax, eax
je 0x40cdd3
push eax
call fcn.00416b73
add esp, 4
mov byte [esp + 0xdc], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cdfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xdc], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret