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

Disassembly:
push 0xffffffffffffffff
push 0x435973
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449fb0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esi + 0xdc], ebx
je 0x40bc90
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
push eax
call fcn.004021b0
add eax, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x4c]
sub eax, 0x10
push eax
mov byte [esp + 0x54], 1
call fcn.004021b0
add eax, 0x10
add esp, 8
mov dword [esp + 0x18], eax
push 0x438814
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 2
call fcn.00403570
push 0x438814
lea ecx, [esp + 0x1c]
call fcn.00403570
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
push edi
push ebp
call fcn.00420d5f
add esp, 8
add edi, 0xfffffff0
mov byte [esp + 0x4c], 1
test eax, eax
jne 0x40bc56
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bc06
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40c1d6
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc6f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.004021b0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00403b50
lea ecx, [esp + 0x34]
cmp eax, ebx
je 0x40bd33
push str.__because_a_filter_keyword_matched.
call fcn.00404000
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x40]
push 0x439b48
mov bl, 3
push edx
mov byte [esp + 0x58], bl
call fcn.00403860
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
mov byte [esp + 0x5c], 4
call fcn.004036c0
add esp, 0xc
mov ecx, esi
call fcn.00403a30
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
jmp 0x40bc09
push 0x439b44
call fcn.00404000
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push str.INFO:_Processing_ACL_of:__
push edx
mov byte [esp + 0x58], 5
call fcn.00403860
add esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
mov byte [esp + 0x5c], 6
call fcn.004036c0
add esp, 0xc
mov ecx, esi
call fcn.00403a30
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, 4
cmp dword [esi + 0xbc], ebx
je 0x40bddb
test byte [esi + 0x54], 1
je 0x40bddb
mov dword [esp + 0x14], edx
mov ebp, 8
cmp dword [esi + 0xc0], ebx
je 0x40bdf2
test byte [esi + 0x54], 1
je 0x40bdf2
or dword [esp + 0x14], ebp
mov ecx, dword [esi + 0x6c]
cmp dword [ecx + 0xc], ebx
je 0x40be0a
test byte [esi + 0x54], dl
je 0x40be0a
mov edi, 1
or dword [esp + 0x14], edi
jmp 0x40be0f
mov edi, 1
mov eax, dword [esi + 0x70]
cmp dword [eax + 0xc], ebx
je 0x40be22
test byte [esi + 0x54], 8
je 0x40be22
or dword [esp + 0x14], 2
mov ecx, dword [esi + 0x54]
test cl, 0x40
je 0x40be76
mov eax, dword [esi + 0x58]
cmp eax, edi
jne 0x40be3b
or dword [esp + 0x14], 0x20000004
jmp 0x40be50
cmp eax, 2
je 0x40be48
cmp eax, edx
jne 0x40be50
mov dword [esp + 0x38], edi
or dword [esp + 0x14], 0x80000004
mov eax, dword [esi + 0x5c]
cmp eax, edi
jne 0x40be61
or dword [esp + 0x14], 0x10000008
jmp 0x40be76
cmp eax, 2
je 0x40be6e
cmp eax, edx
jne 0x40be76
mov dword [esp + 0x3c], edi
or dword [esp + 0x14], 0x40000008
test cl, 0x10
je 0x40be7f
or dword [esp + 0x14], edx
test cl, 0x20
je 0x40be88
or dword [esp + 0x14], ebp
mov eax, ecx
and eax, 0x1000
je 0x40be9d
cmp dword [esi + 0xec], ebx
je 0x40be9d
or dword [esp + 0x14], edx
cmp eax, ebx
je 0x40bead
cmp dword [esi + 0xf0], ebx
je 0x40bead
or dword [esp + 0x14], ebp
mov eax, ecx
and eax, 0x2000
je 0x40bec2
cmp dword [esi + 0xf4], ebx
je 0x40bec2
or dword [esp + 0x14], edx
cmp eax, ebx
je 0x40bed2
cmp dword [esi + 0xf8], ebx
je 0x40bed2
or dword [esp + 0x14], ebp
push 0x44
call fcn.00414182
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x4c], 7
cmp eax, ebx
je 0x40bef9
push esi
mov ecx, eax
call fcn.004070a0
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x40beff
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x50]
mov eax, dword [esp + 0x54]
push ecx
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
mov byte [esp + 0x5c], 0
call fcn.004021b0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.0040a040
mov ebp, eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x44], eax
test ebp, ebp
je 0x40c1ec
cmp dword [esi + 0x48], 0
push str.__failed_with:
lea ecx, [esp + 0x38]
je 0x40c05a
call fcn.00404000
mov ecx, dword [esi + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov byte [esp + 0x54], 8
call fcn.00402ef0
mov edi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push str.ERROR__ignored_:_Reading_the_SD_from__
push ecx
mov byte [esp + 0x58], 9
call fcn.00403860
lea edx, [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x50]
mov bl, 0xa
push eax
mov byte [esp + 0x64], bl
call fcn.004036c0
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
push eax
push ecx
mov byte [esp + 0x5c], 0xb
call fcn.004036c0
add esp, 0xc
mov ecx, esi
call fcn.00403a30
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x4c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bfe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c007
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c02c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c15d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40c15d
call fcn.00404000
mov ecx, dword [esi + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov byte [esp + 0x54], 0xc
call fcn.00402ef0
mov edi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push str.ERROR:_Reading_the_SD_from__
push ecx
mov byte [esp + 0x58], 0xd
call fcn.00403860
lea edx, [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x50]
mov bl, 0xe
push eax
mov byte [esp + 0x64], bl
call fcn.004036c0
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
push eax
push ecx
mov byte [esp + 0x5c], 0xf
call fcn.004036c0
add esp, 0xc
mov ecx, esi
call fcn.00403a30
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x4c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c0e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c158
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, 0x2c
jne 0x40c162
xor ebp, ebp
mov dword [esi + 0x44], ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40c17f
push eax
call fcn.004141bc
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40c190
push eax
call fcn.004141bc
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x40c1a1
push eax
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40c1ac
push eax
call esi
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
cmp dword [esp + 0x38], 0
je 0x40c20e
push 1
push 0x10
push 1
mov ecx, ebx
call fcn.00401820
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x3c], 0
je 0x40c230
push 1
push 0x10
push 2
mov ecx, ebx
call fcn.00401820
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
test byte [esi + 0x54], 0x10
je 0x40c251
push 0
push 0x10
push 1
mov ecx, ebx
call fcn.00401820
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
test byte [esi + 0x54], 0x20
je 0x40c272
push 0
push 0x10
push 2
mov ecx, ebx
call fcn.00401820
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
mov edi, 0x1000
test dword [esi + 0x54], edi
je 0x40c2c1
cmp dword [esi + 0xec], 0
je 0x40c29c
push 1
mov ecx, ebx
call fcn.00401c40
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
test dword [esi + 0x54], edi
je 0x40c2c1
cmp dword [esi + 0xf0], 0
je 0x40c2c1
push 2
mov ecx, ebx
call fcn.00401c40
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
mov edi, 0x2000
test dword [esi + 0x54], edi
je 0x40c310
cmp dword [esi + 0xf4], 0
je 0x40c2eb
push 1
mov ecx, ebx
call fcn.004099f0
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
test dword [esi + 0x54], edi
je 0x40c310
cmp dword [esi + 0xf8], 0
je 0x40c310
push 2
mov ecx, ebx
call fcn.004099f0
mov ebp, eax
test ebp, ebp
jne 0x40c158
mov ebx, dword [esp + 0x18]
test byte [esi + 0x54], 1
je 0x40c454
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40c34d
xor ecx, ecx
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004141b1
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x40c34d
lea ebp, [eax + 0x2e]
jmp 0x40c162
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x40c380
xor ecx, ecx
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004141b1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40c380
lea ebp, [eax + 0x2e]
jmp 0x40c162
mov edi, dword [esi + 0x78]
test edi, edi
je 0x40c42d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 8
add edx, 8
lea esp, [esp]
mov eax, edi
test edi, edi
je 0x40c44f
mov eax, dword [eax + 8]
cmp dword [eax + 0x18], 1
mov edi, dword [edi]
jne 0x40c3ea
cmp dword [esi + 0xbc], 0
je 0x40c3ea
mov ebx, dword [eax + 0x14]
inc dword [esp + 0x24]
mov dword [edx - 4], ebx
mov ebx, dword [eax + 0x1c]
mov dword [edx - 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [edx], ebx
mov dword [edx + 0xc], 0
mov ebx, dword [eax + 4]
mov ebx, dword [ebx + 0xc]
mov dword [edx + 0x14], ebx
mov ebx, dword [esp + 0x18]
add edx, 0x20
cmp dword [eax + 0x18], 2
jne 0x40c425
cmp dword [esi + 0xc0], 0
je 0x40c425
mov ebx, dword [eax + 0x14]
inc dword [esp + 0x28]
mov dword [ecx - 4], ebx
mov ebx, dword [eax + 0x1c]
mov dword [ecx - 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x18]
mov dword [ecx + 0xc], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x14], eax
add ecx, 0x20
test edi, edi
jne 0x40c3a0
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0xbc]
jne 0x40c445
mov edx, dword [esp + 0x28]
cmp edx, dword [esi + 0xc0]
je 0x40c454
mov ebp, 0x12
jmp 0x40c162
call fcn.004142cf
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0xbc]
push ecx
push edx
push eax
call edi
mov dword [esi + 0x44], eax
test eax, eax
je 0x40c482
mov ebp, 0x13
jmp 0x40c162
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
push eax
push ecx
call edi
mov dword [esi + 0x44], eax
test eax, eax
je 0x40c4aa
mov ebp, 0x13
jmp 0x40c162
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40c4ef
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0x6c]
push ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esi + 0x50]
push ecx
push eax
push edx
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00402820
mov ecx, ebx
call fcn.0040a430
mov ecx, dword [ebx + 0x18]
mov ebp, eax
mov dword [esi + 0x44], ecx
test ebp, ebp
je 0x40c158
cmp dword [esi + 0x44], 5
je 0x40c507
cmp dword [esi + 0x48], 0
je 0x40c158
push str.__failed_with:
lea ecx, [esp + 0x40]
call fcn.00404000
mov edx, dword [esi + 0x44]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x54], 0x10
call fcn.00402ef0
mov edi, eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push str.ERROR:_Writing_SD_to__
push edx
mov byte [esp + 0x58], 0x11
call fcn.00403860
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x64], 0x12
call fcn.004036c0
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
push eax
push ecx
mov byte [esp + 0x5c], 0x13
call fcn.004036c0
add esp, 0xc
mov ecx, esi
call fcn.00403a30
lea ecx, [esp + 0x38]
call fcn.00402050
lea ecx, [esp + 0x34]
call fcn.00402050
lea ecx, [esp + 0x28]
call fcn.00402050
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4c], 0
call fcn.00402050
jmp 0x40c15d