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

Disassembly:
push 0xffffffffffffffff
push 0x436493
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448fb0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor ebp, ebp
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], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esi + 0xdc], ebx
je 0x40c399
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
push eax
call fcn.00402730
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.00402730
add eax, 0x10
add esp, 8
mov dword [esp + 0x18], eax
push 0x4397d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 2
call fcn.00403aa0
push 0x4397d4
lea ecx, [esp + 0x1c]
call fcn.00403aa0
mov edi, dword [esp + 0x18]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x40c2da
push 0x80004005
call fcn.00401090
mov ebx, dword [esp + 0x34]
push edi
push ebx
call fcn.004217b8
add esp, 8
add edi, 0xfffffff0
mov byte [esp + 0x4c], 1
test eax, eax
jne 0x40c35d
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c30d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c32e
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 0x40c356
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40c8f0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c376
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebx - 0x10]
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov eax, dword [esp + 0x54]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.00402730
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00404210
cmp eax, ebx
je 0x40c43c
push str.__because_a_filter_keyword_matched.
lea ecx, [esp + 0x5c]
call fcn.004046c0
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x40]
push str.INFO:_Omitting_ACL_of:__
mov bl, 3
push edx
mov byte [esp + 0x58], bl
call fcn.00403dc0
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x5c]
push edx
push eax
push ecx
mov byte [esp + 0x5c], 4
call fcn.00403c20
add esp, 0xc
mov ecx, esi
call fcn.00403f90
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 0x40c430
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
jmp 0x40c310
push 0x43b2e0
lea ecx, [esp + 0x38]
call fcn.004046c0
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.00403dc0
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.00403c20
add esp, 0xc
mov ecx, esi
call fcn.00403f90
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 0x40c4ac
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 0x40c4d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0xbc], ebx
je 0x40c4e8
test byte [esi + 0x54], 1
je 0x40c4e8
mov ebp, 4
mov dword [esp + 0x14], ebp
cmp dword [esi + 0xc0], ebx
je 0x40c4fd
test byte [esi + 0x54], 1
je 0x40c4fd
or ebp, 8
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0x6c]
cmp dword [ecx + 0xc], ebx
je 0x40c512
test byte [esi + 0x54], 4
je 0x40c512
or ebp, 1
mov dword [esp + 0x14], ebp
mov edx, dword [esi + 0x70]
cmp dword [edx + 0xc], ebx
je 0x40c527
test byte [esi + 0x54], 8
je 0x40c527
or ebp, 2
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0x54]
test cl, 0x40
je 0x40c582
mov eax, dword [esi + 0x58]
mov edx, 1
cmp eax, edx
jne 0x40c543
or ebp, 0x20000004
jmp 0x40c557
cmp eax, 2
je 0x40c551
cmp eax, 4
jne 0x40c55b
mov dword [esp + 0x38], edx
or ebp, 0x80000004
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0x5c]
cmp eax, edx
jne 0x40c56a
or ebp, 0x10000008
jmp 0x40c57e
cmp eax, 2
je 0x40c578
cmp eax, 4
jne 0x40c582
mov dword [esp + 0x3c], edx
or ebp, 0x40000008
mov dword [esp + 0x14], ebp
test cl, 0x10
je 0x40c58e
or ebp, 4
mov dword [esp + 0x14], ebp
test cl, 0x20
je 0x40c59a
or ebp, 8
mov dword [esp + 0x14], ebp
mov eax, ecx
and eax, 0x1000
je 0x40c5b2
cmp dword [esi + 0xe8], ebx
je 0x40c5b2
or ebp, 4
mov dword [esp + 0x14], ebp
cmp eax, ebx
je 0x40c5c5
cmp dword [esi + 0xec], ebx
je 0x40c5c5
or ebp, 8
mov dword [esp + 0x14], ebp
mov eax, ecx
and eax, 0x2000
je 0x40c5dd
cmp dword [esi + 0xf0], ebx
je 0x40c5dd
or ebp, 4
mov dword [esp + 0x14], ebp
cmp eax, ebx
je 0x40c5f0
cmp dword [esi + 0xf4], ebx
je 0x40c5f0
or ebp, 8
mov dword [esp + 0x14], ebp
push 0x40
call fcn.00414bdc
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x4c], 7
cmp eax, ebx
je 0x40c617
push esi
mov ecx, eax
call fcn.004073e0
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x40c61d
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x50]
push ebp
push eax
mov eax, dword [esp + 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
mov byte [esp + 0x5c], 0
call fcn.00402730
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.0040a7a0
mov ecx, dword [ebx + 0x18]
mov edi, eax
mov dword [esi + 0x44], ecx
test edi, edi
je 0x40c906
cmp dword [esi + 0x48], 0
push str.__failed_with:
lea ecx, [esp + 0x5c]
je 0x40c774
call fcn.004046c0
mov edx, dword [esi + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x54], 8
call fcn.004040b0
mov edi, eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x3c]
push str.ERROR__ignored_:_Reading_the_SD_from__
push edx
mov byte [esp + 0x58], 9
call fcn.00403dc0
lea ecx, [esp + 0x64]
push ecx
push eax
lea edx, [esp + 0x50]
mov bl, 0xa
push edx
mov byte [esp + 0x64], bl
call fcn.00403c20
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
push eax
push ecx
mov byte [esp + 0x5c], 0xb
call fcn.00403c20
add esp, 0xc
mov ecx, esi
call fcn.00403f90
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 0x40c6fc
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 0x40c721
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], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x58]
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 0x40c877
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40c877
call fcn.004046c0
mov ecx, dword [esi + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x54], 0xc
call fcn.004040b0
mov ebp, 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.00403dc0
lea edx, [esp + 0x64]
push edx
push eax
lea eax, [esp + 0x50]
mov bl, 0xe
push eax
mov byte [esp + 0x64], bl
call fcn.00403c20
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
push eax
push ecx
mov byte [esp + 0x5c], 0xf
call fcn.00403c20
add esp, 0xc
mov ecx, esi
call fcn.00403f90
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 0x40c803
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 0x40c828
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], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c84d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x58]
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 0x40c872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0x2c
jne 0x40c87c
xor edi, edi
mov dword [esi + 0x44], edi
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 0x40c899
push eax
call fcn.00414c16
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40c8aa
push eax
call fcn.00414c16
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x40c8bb
push eax
call esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40c8c6
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 0x40c8ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8
cmp dword [esp + 0x38], 0
je 0x40c928
push 1
push 0x10
push 1
mov ecx, ebx
call fcn.00401820
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x3c], 0
je 0x40c94a
push 1
push 0x10
push 2
mov ecx, ebx
call fcn.00401820
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
test byte [esi + 0x54], 0x10
je 0x40c96b
push 0
push 0x10
push 1
mov ecx, ebx
call fcn.00401820
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
test byte [esi + 0x54], 0x20
je 0x40c98c
push 0
push 0x10
push 2
mov ecx, ebx
call fcn.00401820
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
mov ebp, 0x1000
test dword [esi + 0x54], ebp
je 0x40c9db
cmp dword [esi + 0xe8], 0
je 0x40c9b6
push 1
mov ecx, ebx
call fcn.00401fe0
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
test dword [esi + 0x54], ebp
je 0x40c9db
cmp dword [esi + 0xec], 0
je 0x40c9db
push 2
mov ecx, ebx
call fcn.00401fe0
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
mov ebp, 0x2000
test dword [esi + 0x54], ebp
je 0x40ca2a
cmp dword [esi + 0xf0], 0
je 0x40ca05
push 1
mov ecx, ebx
call fcn.0040a1c0
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
test dword [esi + 0x54], ebp
je 0x40ca2a
cmp dword [esi + 0xf4], 0
je 0x40ca2a
push 2
mov ecx, ebx
call fcn.0040a1c0
mov edi, eax
test edi, edi
jne 0x40c872
mov ebx, dword [esp + 0x18]
test byte [esi + 0x54], 1
je 0x40cb68
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40ca67
xor ecx, ecx
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414c0b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x40ca67
lea edi, [eax + 0x2e]
jmp 0x40c87c
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x40ca9a
xor ecx, ecx
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414c0b
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40ca9a
lea edi, [eax + 0x2e]
jmp 0x40c87c
mov ebp, dword [esi + 0x78]
test ebp, ebp
je 0x40cb41
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 8
add edx, 8
mov eax, ebp
test ebp, ebp
je 0x40cb63
mov eax, dword [eax + 8]
cmp dword [eax + 0x18], 1
mov ebp, dword [ebp]
jne 0x40cafe
cmp dword [esi + 0xbc], 0
je 0x40cafe
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 0x40cb39
cmp dword [esi + 0xc0], 0
je 0x40cb39
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 ebp, ebp
jne 0x40cab3
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0xbc]
jne 0x40cb59
mov edx, dword [esp + 0x28]
cmp edx, dword [esi + 0xc0]
je 0x40cb68
mov edi, 0x12
jmp 0x40c87c
call fcn.00414d29
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0xbc]
push ecx
push edx
push eax
call ebp
mov dword [esi + 0x44], eax
test eax, eax
je 0x40cc45
cmp dword [esi + 0x48], 0
je 0x40cc3b
push str.__failed_with:
lea ecx, [esp + 0x5c]
call fcn.004046c0
mov ecx, dword [esi + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x54], 0x10
call fcn.004040b0
mov edi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push str.ERROR__ignored_:_SetEntriesInAcl_for_DACL_of__
push ecx
mov byte [esp + 0x58], 0x11
call fcn.00403dc0
lea edx, [esp + 0x64]
push edx
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x64], 0x12
call fcn.00403c20
mov byte [esp + 0x64], 0x13
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
push eax
push ecx
call fcn.00403c20
add esp, 0xc
mov ecx, esi
call fcn.00403f90
lea ecx, [esp + 0x3c]
call fcn.00402640
lea ecx, [esp + 0x38]
call fcn.00402640
lea ecx, [esp + 0x34]
call fcn.00402640
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], 0
call fcn.00402640
jmp 0x40c877
mov edi, 0x13
jmp 0x40c87c
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 0xc0]
push eax
push ecx
push edx
call ebp
mov dword [esi + 0x44], eax
test eax, eax
je 0x40ccc6
cmp dword [esi + 0x48], 0
je 0x40cc3b
push str.__failed_with:
lea ecx, [esp + 0x5c]
call fcn.004046c0
mov eax, dword [esi + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov byte [esp + 0x54], 0x14
call fcn.004040b0
mov edi, eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x3c]
push str.ERROR__ignored_:_SetEntriesInAcl_for_SACL_of__
push eax
mov byte [esp + 0x58], 0x15
call fcn.00403dc0
lea ecx, [esp + 0x64]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x64], 0x16
call fcn.00403c20
mov byte [esp + 0x64], 0x17
jmp 0x40cbf2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40cd12
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x70]
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x6c]
push 0
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
push eax
push ecx
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call fcn.00402810
mov ecx, ebx
call fcn.0040aba0
mov edi, eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x44], eax
test edi, edi
je 0x40c872
cmp dword [esi + 0x44], 5
je 0x40cd2a
cmp dword [esi + 0x48], 0
je 0x40c872
push str.__failed_with:
lea ecx, [esp + 0x5c]
call fcn.004046c0
mov ecx, dword [esi + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x54], 0x18
call fcn.004040b0
mov edi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push str.ERROR:_Writing_SD_to__
push ecx
mov byte [esp + 0x58], 0x19
call fcn.00403dc0
lea edx, [esp + 0x64]
push edx
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x64], 0x1a
call fcn.00403c20
mov byte [esp + 0x64], 0x1b
jmp 0x40cbf2