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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56eb82
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5c8a30]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8a30]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
call fcn.0040fafb
xor ebx, ebx
push ebx
call fcn.0050e130
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.00411505
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x408098
push 0x80004005
call fcn.00401460
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0xf0], ebx
call fcn.00411505
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4080c9
push 0x80004005
call fcn.00401460
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0xf0], 1
call fcn.00411505
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4080fb
push 0x80004005
call fcn.00401460
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xf0], 2
call fcn.00411505
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40812d
push 0x80004005
call fcn.00401460
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xf0], 3
mov edx, dword [esi + 0xd8]
lea ecx, [esp + 0xac]
push ecx
push edx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xd8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1037
push eax
call edi
mov ecx, dword [esi + 0xd8]
or eax, 9
push eax
push ebx
push 0x1036
push ecx
call edi
push ebx
push 0x50
push 2
push 0x5a5620
lea ecx, [esi + 0xb8]
push ebx
call fcn.0041f48e
mov dword [esp + 0x1c], 1
lea ecx, [ecx]
lea edx, [esp + 0x24]
push edx
mov esi, 0x5a5628
lea edi, [esp + 0x68]
call fcn.00406650
mov byte [esp + 0xf0], 4
mov eax, dword [eax]
mov ebx, dword [esp + 0x20]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x408280
cmp dword [ebx + 0xc], 0
jl 0x408272
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x408272
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40821c
cmp eax, dword [esi]
jne 0x40821c
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x408250
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408c72
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0050d4b6
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x408269
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [esp + 0x20], edi
jmp 0x408280
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00406a00
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov esi, 0x5a562c
lea edi, [esp + 0xa4]
call fcn.00406650
mov byte [esp + 0xf0], 5
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x40836b
cmp dword [ebx + 0xc], 0
jl 0x40835d
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40835d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x408307
cmp eax, dword [esi]
jne 0x408307
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40833b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408c72
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0050d4b6
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x408354
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [esp + 0x10], edi
jmp 0x40836b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406a00
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov esi, 0x5a55ec
lea edi, [esp + 0x78]
call fcn.00406650
mov byte [esp + 0xf0], 6
mov eax, dword [eax]
mov ebx, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x408456
cmp dword [ebx + 0xc], 0
jl 0x408448
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x408448
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4083f2
cmp eax, dword [esi]
jne 0x4083f2
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408426
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x408c72
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0050d4b6
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40843f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x408456
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00406a00
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40847e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xc0]
push edx
call fcn.0050ebd9
add esp, 8
test eax, eax
jne 0x4084a1
mov eax, dword [esp + 0xd4]
inc eax
jmp 0x4084a3
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x4084ad
jmp dword [eax*4 + 0x408dc8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x80]
push 0x5a583c
push ecx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0xfc], 7
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0xfc], 8
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xfc], 9
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0xa
call fcn.004065e0
mov byte [esp + 0xf0], 9
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 0x40855c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 8
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 0x408587
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x7c]
jmp 0x408c03
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x88]
push 0x5a5844
push edx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xfc], 0xb
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0xfc], 0xc
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xfc], 0xd
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0xe
call fcn.004065e0
mov byte [esp + 0xf0], 0xd
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408668
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0xc
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408693
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0xb
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4086bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x84]
jmp 0x408c03
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x90]
push 0x5a584c
push edx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xfc], 0xf
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0xfc], 0x10
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xfc], 0x11
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x12
call fcn.004065e0
mov byte [esp + 0xf0], 0x11
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408777
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x10
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 0x4087a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0xf
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x8c]
jmp 0x408c03
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c]
push 0x5a5854
push edx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xfc], 0x13
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0xfc], 0x14
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xfc], 0x15
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x16
call fcn.004065e0
mov byte [esp + 0xf0], 0x15
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x14
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x13
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x38]
jmp 0x408c03
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x5c]
push 0x5a585c
push edx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xfc], 0x17
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0xfc], 0x18
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xfc], 0x19
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x1a
call fcn.004065e0
mov byte [esp + 0xf0], 0x19
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 0x408989
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x18
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 0x4089b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x17
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x58]
jmp 0x408c03
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x7c]
push 0x5a5864
push edx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xfc], 0x1b
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0xfc], 0x1c
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0xfc], 0x1d
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x1e
call fcn.004065e0
mov byte [esp + 0xf0], 0x1d
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x1c
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x1b
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x78]
jmp 0x408c03
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x9c]
push 0x5a586c
push edx
call fcn.004064c0
add esp, 0xc
push 0x5a5634
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0xfc], 0x1f
call fcn.00407d70
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0xfc], 0x20
call fcn.00406310
add esp, 0xc
push 0x5a5630
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0xfc], 0x21
call fcn.00407d70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x22
call fcn.004065e0
mov byte [esp + 0xf0], 0x21
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x20
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0x1f
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg case.default.0x4084ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
add dword [esp + 0x24], 0x15180
mov ecx, dword [esp + 0x18]
push esi
adc dword [esp + 0x2c], 0
push 0x5a
push 2
push ecx
mov ecx, dword [esp + 0x3c]
push esi
add ecx, 0xb8
call fcn.0041f48e
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 8
jl 0x4081c0
call fcn.00411505
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408c77
push 0x80004005
call fcn.00401460
call fcn.00401370
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0xf0], 0x23
xor esi, esi
lea eax, [esi + 8]
lea ecx, [eax + 1]
push ecx
push eax
lea edx, [esp + 0x24]
push str._d:00__d:00
push edx
call fcn.00401530
mov edi, dword [esp + 0x2c]
add esp, 0x10
push 0
push 0
push 0
push 0
push edi
push esi
push 1
lea ecx, [ebx + 0xb8]
call fcn.0041f4e3
inc esi
cmp esi, 0xe
jl 0x408c95
push ebx
call fcn.00408df0
lea eax, [edi - 0x10]
mov byte [esp + 0xf0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408cfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 1
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 0x408d4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf0], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xf0], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0050d23d
mov esp, ebp
pop ebp
ret