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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58a8aa
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x61c948]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp byte [ebx + 0x50], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
jne 0x41deef
lea eax, [ebx - 0xc]
cmp eax, esi
je 0x41d1ed
lea ecx, [ebx + 8]
mov dword [esp + 0x2c], ecx
jmp 0x41d1f1
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x98], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp edi, esi
mov dword [esp + 0x168], esi
jne 0x41d223
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004003
jmp 0x41e09d
mov eax, dword [ebx]
mov ecx, dword [eax + 0x54]
push 1
push edi
push ebx
call ecx
test eax, eax
jne 0x41e08d
cmp dword [esp + 0x28], esi
je 0x41d252
mov eax, dword [esp + 0x28]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x54]
push esi
push eax
push ebx
call ecx
test eax, eax
jne 0x41e08d
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
push edi
push ebx
call eax
test eax, eax
je 0x41e07b
cmp dword [esp + 0x28], esi
je 0x41d27e
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x58]
push edx
push ebx
call eax
test eax, eax
je 0x41e07b
cmp dword [esp + 0x28], esi
mov byte [esp + 0x23], 1
je 0x41d2b5
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
push 0
push edx
push edi
push ebx
call eax
mov esi, eax
test esi, esi
jl 0x41d350
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x41e09d
mov edx, dword [edi]
mov ecx, dword [edx]
lea eax, [esp + 0x18]
push eax
push 0x5ed130
push edi
mov dword [esp + 0x24], esi
call ecx
mov byte [esp + 0x168], 1
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x41d33a
mov edx, dword [ecx]
lea eax, [ebx - 0xc]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [edx + 0xc]
push edi
push ecx
call eax
mov esi, eax
test esi, esi
jl 0x41d31d
mov byte [esp + 0x168], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d30b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x41e09d
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea eax, [ebx - 0xc]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [edx + 0x10]
push edi
push ecx
call eax
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
mov byte [esp + 0x168], 0
je 0x41d352
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
jmp 0x41d352
xor esi, esi
lea eax, [ebx - 0xc]
neg eax
sbb eax, eax
and eax, ebx
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x1c], ecx
je 0x41d37a
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x5ed140
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x41d4bd
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
mov byte [esp + 0x168], 3
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0x18]
call ecx
test eax, eax
jl 0x41d4a1
mov dword [esp + 0x14], esi
push esi
mov byte [esp + 0x16c], 4
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
call edx
test eax, eax
jne 0x41d489
jmp 0x41d3d0
cmp dword [esp + 0x28], esi
je 0x41d3ed
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
push eax
call fcn.0055ec00
add esp, 4
cmp eax, esi
je 0x41d457
xor esi, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x64]
push esi
push edx
push edi
push ebx
call eax
cmp eax, esi
jl 0x41d444
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0055e0b0
add esp, 4
test al, al
jne 0x41d426
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x60]
push eax
push ecx
push ebx
call edx
mov esi, eax
test esi, esi
jge 0x41d936
xor esi, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
jmp 0x41d459
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41d46d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x41d3d0
mov byte [esp + 0x168], 3
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41d4a1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x168], 2
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41d4b9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
mov byte [esp + 0x168], 0
je 0x41d4d1
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0xa
xor eax, eax
mov dword [esp + 0x18], eax
lea ecx, [ebx - 0xc]
cmp ecx, esi
mov byte [esp + 0x168], 6
je 0x41d6ef
mov edx, dword [ebx]
mov ecx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
call ecx
test eax, eax
jl 0x41d6e9
mov dword [esp + 0x14], esi
push esi
mov byte [esp + 0x16c], 7
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
call edx
test eax, eax
jne 0x41d6d1
cmp dword [esp + 0x28], 0
je 0x41d563
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
push eax
call fcn.0055ec00
add esp, 4
cmp eax, esi
je 0x41d69c
mov esi, dword [esp + 0x14]
push edi
call fcn.0055ec00
add esp, 4
cmp eax, esi
je 0x41d69c
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.04FE9017_F873_410E_871E_AB91661A4EF7
call fcn.0040a190
lea ecx, [esp + 0xe0]
push ecx
call fcn.00560740
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x104]
push edi
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.0055eea0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x7c], edx
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x88], eax
call fcn.00409f40
add esp, 0x18
test eax, eax
je 0x41d68e
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.E30629D2_27E5_11CE_875D_00608CB78066
call fcn.0040a190
lea eax, [esp + 0xf0]
push eax
call fcn.00560740
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
push eax
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0x90], edx
call fcn.0055ee20
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], edx
push ecx
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0xa8], eax
call fcn.00409f40
add esp, 0x18
test eax, eax
jne 0x41d69c
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004094a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d6b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x41d543
mov byte [esp + 0x168], 6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d6e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x168], 5
je 0x41d703
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x41d76f
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41d990
mov ecx, dword [esp + 0x34]
mov eax, esi
mov edi, dword [eax + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
mov esi, dword [esi]
push 0
push edi
push ecx
push ebx
call edx
test eax, eax
jl 0x41d75e
push edi
call fcn.0055e0b0
add esp, 4
test al, al
jne 0x41d746
mov byte [esp + 0x23], al
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
push ecx
push edi
push ebx
call edx
mov edi, eax
test edi, edi
jge 0x41d99a
mov edi, dword [esp + 0x34]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x24]
push edi
push ebx
call ecx
test esi, esi
jne 0x41d70b
lea ecx, [esp + 0x4c]
call fcn.004096d0
lea eax, [esp + 0x98]
call fcn.0042d5e0
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
push edi
mov byte [esp + 0x170], 9
call fcn.0055ecb0
mov esi, dword [ebx + 0x88]
add esp, 8
test esi, esi
je 0x41d815
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41d990
mov eax, esi
mov edi, dword [eax + 8]
cmp dword [edi + 0x24], 0x20
mov esi, dword [esi]
mov eax, dword [edi + 0x20]
jb 0x41d7f0
ja 0x41d7de
cmp eax, 0x10000
jb 0x41d7f0
push 0
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
call fcn.0042c3d0
test al, al
je 0x41d811
push 0
push 1
lea edx, [esp + 0x40]
push edx
mov eax, edi
call fcn.0042c3d0
push eax
push 0
push edi
lea eax, [esp + 0xa8]
push eax
call fcn.0042d740
test esi, esi
jne 0x41d7b6
mov edi, dword [ebx + 0xa0]
test edi, edi
je 0x41d87f
nop
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x41d990
mov eax, edi
mov esi, dword [eax + 8]
cmp dword [esi + 0x24], 0x20
mov edi, dword [edi]
mov eax, dword [esi + 0x20]
jb 0x41d85a
ja 0x41d848
cmp eax, 0x10000
jb 0x41d85a
push 0
lea ecx, [esp + 0x3c]
push ecx
mov eax, esi
call fcn.0042c3d0
test al, al
je 0x41d87b
push 0
push 1
lea edx, [esp + 0x40]
push edx
mov eax, esi
call fcn.0042c3d0
push eax
push 0
push esi
lea eax, [esp + 0xa8]
push eax
call fcn.0042d740
test edi, edi
jne 0x41d820
mov dword [esp + 0x18], 0
mov byte [esp + 0x168], 0xa
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x41da29
push 0
push 0
push 0
xor edx, edx
cmp dword [esp + 0x34], edx
mov esi, dword [ebx + 0x54]
push 0
mov ecx, dword [esi]
setne dl
mov ecx, dword [ecx + 0x18]
xor edi, edi
shr eax, 1
push edx
mov edx, dword [esp + 0x4c]
push edi
push edi
push edi
push edx
push eax
push 1
push 0x200001
push edi
push edi
lea eax, [esp + 0x50]
push eax
push esi
call ecx
test eax, eax
jl 0x41da2b
mov dword [esp + 0x1c], edi
push edi
mov byte [esp + 0x16c], 0xb
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
call edx
test eax, eax
jne 0x41da0f
push 0x90
call fcn.0044ff38
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, edi
mov byte [esp + 0x168], 0xc
je 0x41d9b5
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.0042c5c0
mov esi, eax
jmp 0x41d9b7
mov byte [esp + 0x168], 3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d94e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x168], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d966
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x168], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41d97e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x41e09d
push 0x80004005
call fcn.0040a460
lea ecx, [esp + 0x4c]
call fcn.004096d0
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x41e09d
xor esi, esi
push 1
push 1
lea edx, [esp + 0x40]
push edx
mov eax, esi
mov byte [esp + 0x174], 0xb
call fcn.0042c3d0
push eax
push edi
push esi
lea eax, [esp + 0xa8]
push eax
call fcn.0042d740
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41d9f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x41d903
mov byte [esp + 0x168], 0xa
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41da2b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41da2b
xor edi, edi
lea eax, [esp + 0x98]
push eax
call fcn.0042d8e0
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x41dd1b
cmp byte [ebx + 0x50], 0
jne 0x41dea7
mov eax, dword [esp + 0x24]
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
je 0x41d990
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x1c]
mov byte [esp + 0x168], 0xe
mov edx, dword [edi]
mov edx, dword [edx + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
test eax, eax
jge 0x41dabe
mov byte [esp + 0x168], 0xd
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x41daab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x168], 0xa
mov eax, dword [esp + 0x14]
cmp eax, esi
jmp 0x41dd04
lea esi, [esp + 0x48]
mov eax, edi
call fcn.0041b590
mov byte [esp + 0x168], 0xf
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
push eax
mov eax, dword [ecx + 0xc]
push edx
push ebx
call eax
test eax, eax
mov byte [esp + 0x168], 0xe
mov eax, dword [esp + 0x48]
setl byte [esp + 0x33]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x33], 0
jne 0x41dcde
cmp dword [esp + 0x3c], 2
jne 0x41dc88
mov esi, dword [esp + 0x38]
push 0x59dbf4
push esi
call fcn.00409f40
add esp, 8
test eax, eax
je 0x41dc88
lea eax, [esi + 0x10]
push 0x59b9b0
push eax
call fcn.00409f40
add esp, 8
test eax, eax
jne 0x41dc88
lea ecx, [esp + 0x10c]
call fcn.00557c40
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x16c], 0x10
call fcn.00428fa0
mov ecx, dword [eax]
mov dword [esp + 0x10c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x110], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x114], ecx
mov edx, dword [eax + 0xc]
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x11c], edx
call fcn.00428fa0
mov ecx, dword [eax]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x11c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x120], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x124], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [0x59dea4]
mov ecx, dword [0x59dea8]
mov dword [esp + 0x128], edx
mov edx, dword [0x59deac]
mov dword [esp + 0x138], eax
mov eax, dword [0x59deb0]
mov dword [esp + 0x140], edx
lea edx, [esp + 0x10c]
push edx
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x144], ecx
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x64]
push edi
push ebx
call ecx
mov edx, dword [0x59b9b0]
mov ecx, dword [0x59b9b8]
mov esi, eax
test esi, esi
mov eax, dword [0x59b9b4]
mov dword [esp + 0x138], edx
mov edx, dword [0x59b9bc]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
jge 0x41dc6e
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
lea ecx, [esp + 0x10c]
push ecx
push edx
push edi
push ebx
call eax
mov esi, eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x168], 0xe
call fcn.00557c30
test esi, esi
jge 0x41dca0
jmp 0x41dc8c
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x64]
push 0
push edx
push edi
push ebx
call eax
test eax, eax
jl 0x41dcd1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0055e0b0
add esp, 4
test al, al
jne 0x41dcb5
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x60]
push eax
push ecx
push ebx
call edx
mov edi, eax
test edi, edi
jge 0x41def9
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push ecx
push ebx
call edx
mov byte [esp + 0x168], 0xd
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41dcf6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x168], 0xa
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41dd0e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x24], 0
jne 0x41da44
xor edi, edi
mov byte [esp + 0x168], 9
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x41dd33
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x41dd44
push eax
call fcn.00473394
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x168], 0
call fcn.0042d640
cmp byte [esp + 0x23], 0
je 0x41de8a
push 0x30
call fcn.0044ff38
add esp, 4
cmp eax, edi
je 0x41dd9b
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov ecx, 0xa
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], ecx
mov edi, eax
mov dword [esp + 0x24], edi
lea eax, [ebx + 0x28]
mov byte [esp + 0x168], 0x14
call fcn.00429140
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x1c]
mov byte [esp + 0x168], 0x15
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x41de5f
mov eax, dword [esp + 0x1c]
push esi
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x41de51
add edi, 0x18
mov ecx, dword [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x114]
call fcn.00557c50
push eax
mov ecx, edi
mov byte [esp + 0x16c], 0x16
call fcn.00428e70
lea ecx, [esp + 0x10c]
mov byte [esp + 0x168], 0x15
call fcn.00557c30
mov edx, dword [esp + 0x18]
push edx
call fcn.00557e20
mov eax, dword [esp + 0x1c]
push esi
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x41ddf5
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41de5f
push eax
call fcn.00557e20
mov byte [esp + 0x168], 0x14
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x41de77
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebx + 0x40]
lea ebx, [esp + 0x24]
call fcn.00429240
mov edi, ebx
call fcn.00425150
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
neg eax
sbb eax, eax
add eax, 0x80040218
jmp 0x41e09d
mov byte [esp + 0x168], 9
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41debf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41ded0
push eax
call fcn.00473394
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x168], 0
call fcn.0042d640
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x41e09d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41df0e
push eax
lea ecx, [ebx + 0x58]
call fcn.00429300
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x24]
call fcn.00425130
mov byte [esp + 0x168], 0x11
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41df35
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0
push eax
call edx
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x168], 0xe
je 0x41df49
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x41df70
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x5ed160
push ecx
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x168], 0x12
je 0x41df8e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x168], 0xe
je 0x41dfa6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x41dfc9
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x5ed170
push ecx
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x168], 0x13
je 0x41dfe7
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x168], 0xe
je 0x41dfff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x168], 0xd
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41e01b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov byte [esp + 0x168], 0xa
je 0x41e02f
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov byte [esp + 0x168], 9
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e047
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41e058
push eax
call fcn.00473394
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x168], 0
call fcn.0042d640
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x41e09d
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80040204
jmp 0x41e09d
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80040208
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004721e8
mov esp, ebp
pop ebp
ret 0xc