Function at 0x4118a7
Capabilities:
Delete directory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446928
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push esi
push edi
mov eax, dword [0x458210]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], eax
je 0x4118fa
mov dword [eax], ebx
push dword [ebp + 8]
lea eax, [ecx - 8]
mov dword [esp + 0x2c], eax
call fcn.00413749
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x2c], edi
jne 0x41193e
mov eax, 0x80004005
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.00434bcb
mov esp, ebp
pop ebp
ret 0xc
lea esi, [edi + 0x70]
mov dword [esp + 0x40], esi
call fcn.0041a99d
mov dword [edi + 0x74], ebx
mov byte [edi + 0x66], bl
mov byte [edi + 0x28], bl
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [esp + 0x1a4], 7
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], bx
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x70]
push ecx
push dword [ebp + 8]
lea esi, [eax + 0x10]
mov dword [esp + 0x2e0], ebx
mov eax, esi
mov dword [esp + 0x80], ecx
call fcn.0042213c
lea edx, [esp + 0x194]
mov ecx, eax
call fcn.004157a0
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x14], eax
je 0x4119c6
push ebx
push 1
lea esi, [esp + 0x194]
call fcn.004012b6
mov eax, dword [esp + 0x14]
jmp 0x411918
push dword [ebp + 8]
lea eax, [edi + 0x9c]
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.0042213c
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.00415a09
cmp eax, ebx
pop ecx
mov dword [esp + 0x14], eax
jne 0x4119ae
push 0xffffffffffffffff
push edi
xor ebx, ebx
lea eax, [esp + 0x194]
call fcn.00401322
lea eax, [esp + 0x224]
call fcn.0040e460
mov eax, dword [esp + 0x20]
add eax, 0x10
mov byte [esp + 0x2d8], 1
call fcn.0042213c
mov edx, dword [eax]
lea ecx, [esp + 0x224]
push ecx
push 0x1d
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
je 0x411a5c
mov ebx, eax
lea esi, [esp + 0x224]
call fcn.0040e480
push 0
push 1
lea esi, [esp + 0x194]
call fcn.004012b6
mov eax, ebx
jmp 0x411918
cmp dword [esp + 0x224], 0
je 0x411a8f
cmp dword [esp + 0x224], 3
je 0x411a77
mov ebx, 0x80004005
jmp 0x411a39
mov eax, dword [esp + 0x244]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x248]
mov dword [edi + 0x24], eax
mov byte [edi + 0x28], 1
lea esi, [esp + 0x224]
mov byte [esp + 0x2d8], 0
call fcn.0040e480
mov ebx, dword [esp + 0x20]
push 0xf
push dword [ebp + 8]
add ebx, 0x10
mov eax, ebx
call fcn.0042213c
lea ecx, [edi + 0x66]
mov edx, eax
call fcn.00415a17
xor esi, esi
cmp eax, esi
pop ecx
pop ecx
je 0x411acf
mov ebx, eax
jmp 0x411a45
lea eax, [esp + 0x24c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.0040e460
mov eax, ebx
mov byte [esp + 0x2d8], 2
call fcn.0042213c
mov edx, dword [eax]
lea ecx, [esp + 0x24c]
push ecx
push 7
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x411b23
lea esi, [esp + 0x24c]
call fcn.0040e480
mov ebx, dword [esp + 0x14]
jmp 0x411a45
cmp dword [esp + 0x24c], esi
setne byte [esp + 0x27]
cmp byte [esp + 0x27], 0
je 0x411b52
mov eax, dword [esp + 0x26c]
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
lea esi, [esp + 0x24c]
mov byte [esp + 0x2d8], 0
call fcn.0040e480
cmp dword [ebp + 0x10], 0
jne 0x412e47
mov esi, dword [esp + 0x20]
cmp byte [esi + 0xa0], 0
je 0x411bc9
push 0xc
call fcn.00434ec3
test eax, eax
pop ecx
je 0x411b90
call fcn.0042e448
jmp 0x411b92
xor eax, eax
mov ecx, eax
add eax, 8
neg ecx
sbb ecx, ecx
and ecx, eax
lea esi, [esp + 0x40]
call fcn.004295fb
mov esi, dword [esp + 0x54]
test esi, esi
je 0x411bb9
lea ecx, [esp + 0x40]
call fcn.0042fd6e
mov dword [esi], eax
lea eax, [esp + 0x40]
call fcn.004148f9
xor ebx, ebx
jmp 0x411a45
lea eax, [esp + 0x1c4]
call fcn.0040e460
mov eax, ebx
mov byte [esp + 0x2d8], 3
call fcn.0042213c
mov edx, dword [eax]
lea ecx, [esp + 0x1c4]
push ecx
push 9
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x1c]
mov ebx, eax
test ebx, ebx
je 0x411c0a
lea esi, [esp + 0x1c4]
jmp 0x411a40
cmp dword [esp + 0x1c4], 0
jne 0x411c2f
mov eax, dword [esi + 0x98]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x9c]
mov byte [edi + 0x9b], 0
jmp 0x411c6a
cmp dword [esp + 0x1c4], 3
je 0x411c4f
lea esi, [esp + 0x1c4]
call fcn.0040e480
mov ebx, 0x80004005
jmp 0x411a45
mov eax, dword [esp + 0x1e4]
mov dword [edi + 0x90], eax
mov eax, dword [esp + 0x1e8]
mov byte [edi + 0x9b], 1
lea esi, [esp + 0x1c4]
mov dword [edi + 0x94], eax
mov byte [esp + 0x2d8], 0
call fcn.0040e480
push 0xa
push dword [ebp + 8]
lea ebx, [edi + 0x98]
push dword [esp + 0x30]
lea ecx, [edi + 0x78]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ecx
call fcn.004117ed
test eax, eax
jne 0x411ac8
push 0xb
push dword [ebp + 8]
lea ebx, [edi + 0x99]
push dword [esp + 0x30]
lea ecx, [edi + 0x80]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ecx
call fcn.004117ed
test eax, eax
jne 0x411ac8
push 0xc
push dword [ebp + 8]
lea ebx, [edi + 0x9a]
push dword [esp + 0x30]
lea ecx, [edi + 0x88]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ecx
call fcn.004117ed
xor ebx, ebx
cmp eax, ebx
jne 0x411ac8
mov esi, dword [esp + 0x20]
push 0x15
push dword [ebp + 8]
lea eax, [esi + 0x10]
mov byte [esp + 0x27], bl
call fcn.0042213c
lea ecx, [esp + 0x27]
mov edx, eax
call fcn.00415a17
cmp eax, ebx
pop ecx
pop ecx
jne 0x411ac8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2d8], 4
call fcn.004173db
lea eax, [esp + 0x30]
call fcn.00403cab
cmp eax, ebx
jne 0x411d6a
lea esi, [esp + 0x30]
call fcn.00403c6c
jmp 0x411c45
mov ecx, dword [esi + 0x24]
dec ecx
mov dword [esp + 0x14], ebx
je 0x411e45
dec ecx
dec ecx
jne 0x411e4a
lea edi, [esi + 0x60]
mov eax, edi
mov dword [esp + 0x74], edi
call fcn.00403cab
test eax, eax
je 0x411e1d
mov eax, edi
call fcn.00403cab
dec eax
mov dword [esp + 0x4c], eax
js 0x411e4a
push dword [esp + 0x4c]
mov esi, dword [esp + 0x78]
call fcn.00407e87
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
lea edx, [esp + 0xf0]
mov ecx, eax
mov byte [esp + 0x2d8], 5
call fcn.004173db
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xf4]
push eax
lea edi, [esp + 0x1c]
call fcn.0041395f
cmp eax, ebx
mov byte [esp + 0x2d8], 4
lea esi, [esp + 0xf0]
je 0x411e16
call fcn.00403c6c
dec dword [esp + 0x4c]
jns 0x411da8
jmp 0x411e4a
call fcn.00403c6c
jmp 0x411e4a
lea eax, [esp + 0x30]
push eax
add esi, 0x50
push esi
lea edi, [esp + 0x1c]
call fcn.0041395f
mov edi, eax
cmp edi, ebx
je 0x411e4a
lea esi, [esp + 0x30]
call fcn.00403c6c
mov ebx, edi
jmp 0x411a45
dec eax
mov dword [esp + 0x14], eax
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push ebx
call fcn.00414916
lea eax, [esp + 0x38]
push eax
call fcn.00416fd9
lea eax, [esp + 0x3c]
add esp, 0xc
push eax
lea edi, [esp + 0xd8]
call fcn.0041734b
pop ecx
mov esi, dword [esp + 0x20]
mov byte [esp + 0x2d8], 6
cmp dword [esi + 0x24], 2
mov byte [esp + 0x1e], bl
jne 0x411f62
cmp dword [esp + 0xe8], 1
jbe 0x411f62
xor edi, edi
inc edi
lea eax, [esp + 0xd4]
call fcn.00403d5e
cmp word [eax], 0x5f
jne 0x411f62
cmp dword [esp + 0xe8], 2
jne 0x411eca
mov eax, dword [esp + 0x18]
cmp byte [eax], bl
jne 0x411ef1
push 2
pop edi
lea eax, [esp + 0xd4]
call fcn.00403d5e
cmp word [eax], 0x5c
je 0x411ef1
lea eax, [esp + 0xd4]
call fcn.00403d5e
cmp word [eax], 0x2f
jne 0x411f62
push 1
lea eax, [esp + 0xd8]
push eax
xor ebx, ebx
lea esi, [esp + 0x1b0]
call fcn.00407dda
push 0x3a
mov byte [esp + 0x2dc], 7
call fcn.00407ce0
mov eax, esi
push eax
call fcn.0040d560
test al, al
pop ecx
je 0x411f3e
xor edi, edi
inc edi
lea eax, [esp + 0xd4]
call fcn.00403d5e
mov word [eax], 0x3a
mov byte [esp + 0x1e], 1
push 0
push 1
lea esi, [esp + 0x1b0]
mov byte [esp + 0x2e0], 6
call fcn.004012b6
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp byte [esp + 0x1e], bl
jne 0x411fd8
cmp byte [esi + 0x2d], bl
je 0x411fd8
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x38]
jbe 0x411f76
call fcn.004352f5
push esi
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x40]
call fcn.00403dd8
lea eax, [esp + 0x30]
push eax
call fcn.00416fd9
pop ecx
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 0x158]
call fcn.0041734b
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0xd8]
push ecx
xor ebx, ebx
mov byte [esp + 0x2e0], 8
call fcn.00401322
push ebx
push 1
mov esi, edi
call fcn.004012b6
mov esi, dword [esp + 0x20]
cmp byte [esp + 0x1f], bl
jne 0x4122de
mov edi, dword [esp + 0x18]
cmp byte [edi], bl
jne 0x412009
lea eax, [esp + 0x30]
call fcn.00403cab
test eax, eax
je 0x412009
mov eax, dword [esp + 0x38]
push eax
add eax, 0xffffffe4
call fcn.00403f61
sub dword [esp + 0x38], 0x1c
mov cl, byte [edi]
cmp cl, bl
mov al, 1
je 0x412019
cmp dword [esi + 0x24], 1
jne 0x412019
xor al, al
cmp dword [esi + 0x20], 2
jne 0x412021
xor al, al
cmp al, bl
je 0x4122de
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], bx
cmp byte [esp + 0x1e], bl
mov byte [esp + 0x2d8], 9
mov byte [esp + 0x13], bl
je 0x4120b0
cmp cl, bl
je 0x412073
push 0xffffffffffffffff
lea eax, [esp + 0xf4]
push eax
xor ebx, ebx
lea eax, [esp + 0xdc]
call fcn.00401322
jmp 0x41208a
lea esi, [esp + 0xf0]
lea edi, [esp + 0xd4]
call fcn.0040ba50
mov esi, dword [esp + 0x20]
lea eax, [esp + 0xf0]
push eax
call fcn.0040d710
test al, al
pop ecx
jne 0x4120ac
lea eax, [esp + 0xf0]
push eax
call fcn.0040dd50
pop ecx
jmp 0x4120c6
mov al, 1
jmp 0x4120cb
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.00411669
mov byte [esp + 0x13], 1
cmp al, bl
jne 0x412161
lea esi, [esp + 0x170]
call fcn.0040cf00
mov byte [esp + 0x2d8], 0xa
cmp dword [eax + 0x18], 8
jb 0x4120f2
mov eax, dword [eax + 4]
jmp 0x4120f5
add eax, 4
cmp dword [esp + 0x108], 8
mov ecx, dword [esp + 0xf4]
jae 0x41210d
lea ecx, [esp + 0xf4]
push eax
push ecx
push 0x271a
lea ecx, [esp + 0x160]
call fcn.00402cc0
add esp, 0xc
push ebx
push 1
lea esi, [esp + 0x178]
mov byte [esp + 0x2e0], 0xc
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x154]
push eax
push dword [ebp + 8]
call fcn.00413800
push ebx
push 1
lea esi, [esp + 0x15c]
call fcn.004012b6
mov esi, dword [esp + 0x20]
cmp byte [esp + 0x1e], bl
jne 0x41227a
mov eax, dword [esp + 0x18]
cmp byte [eax], bl
je 0x4122cb
cmp byte [esi + 0x4c], bl
jne 0x41218a
cmp byte [esi + 0x4d], bl
jne 0x41218a
cmp byte [esi + 0x4e], bl
je 0x4122cb
mov dword [esp + 0x124], 7
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], bx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x130], bl
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov byte [esp + 0x13c], bl
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov byte [esp + 0x148], bl
push 0xffffffffffffffff
lea eax, [esp + 0x110]
push eax
xor ebx, ebx
lea eax, [esp + 0xf8]
mov byte [esp + 0x2e0], 0xd
call fcn.00401322
cmp byte [esi + 0x4c], bl
je 0x41222f
mov eax, dword [esp + 0x64]
cmp byte [eax], bl
je 0x41222f
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], eax
mov byte [esp + 0x130], 1
cmp byte [esi + 0x4d], bl
je 0x41225b
mov eax, dword [esp + 0x48]
cmp byte [eax], bl
je 0x41225b
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
mov byte [esp + 0x13c], 1
cmp byte [esi + 0x4e], bl
je 0x412285
mov eax, dword [esp + 0x50]
cmp byte [eax], bl
je 0x412285
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x140], ecx
jmp 0x412298
cmp byte [esp + 0x13], bl
je 0x4122cb
jmp 0x41216b
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x140], eax
mov eax, dword [esi + 0x90]
mov dword [esp + 0x144], eax
lea eax, [esp + 0x10c]
push eax
lea edi, [esi + 0x11c]
mov byte [esp + 0x14c], 1
call fcn.00413e88
push ebx
push 1
lea esi, [esp + 0x114]
call fcn.004012b6
xor ebx, ebx
push ebx
push 1
lea esi, [esp + 0xf8]
call fcn.004012b6
mov esi, dword [esp + 0x20]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
cmp byte [esp + 0x1e], bl
mov byte [esp + 0x2d8], 0xe
je 0x412320
push 0xffffffffffffffff
lea eax, [esp + 0xbc]
push eax
xor ebx, ebx
lea eax, [esp + 0xdc]
call fcn.00401322
jmp 0x412370
lea eax, [esp + 0xd4]
push eax
add esi, 0x30
lea eax, [esp + 0x158]
push esi
push eax
call fcn.0040835d
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0xbc]
push ecx
xor ebx, ebx
mov byte [esp + 0x2e0], 0xf
call fcn.00401322
push ebx
push 1
lea esi, [esp + 0x15c]
mov byte [esp + 0x2e0], 0xe
call fcn.004012b6
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
xor edi, edi
inc edi
cmp byte [eax], bl
je 0x4123e2
mov edi, dword [esp + 0x2c]
push 0xffffffffffffffff
lea esi, [edi + 0x2c]
push esi
xor ebx, ebx
lea eax, [esp + 0xc0]
call fcn.00401322
cmp byte [esp + 0x1f], bl
je 0x4123ae
cmp dword [esi + 0x18], 8
jb 0x4123a4
mov esi, dword [esi + 4]
jmp 0x4123a7
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [edi + 0x48]
call fcn.00407d2b
push ebx
push 1
lea esi, [esp + 0xc0]
call fcn.004012b6
push ebx
push 1
lea esi, [esp + 0xdc]
call fcn.004012b6
lea esi, [esp + 0x30]
call fcn.00403c6c
jmp 0x411a45
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x28], bl
jne 0x412bb8
lea eax, [esp + 0x10c]
call fcn.0040e740
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x2dc], 0x10
mov byte [esp + 0x17], bl
call fcn.0040d560
test al, al
pop ecx
je 0x412b96
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0040e6a0
test al, al
pop ecx
pop ecx
je 0x412b96
mov eax, dword [esi + 0x20]
cmp eax, edi
mov edx, dword [esp + 0x128]
je 0x41244f
cmp eax, 2
jne 0x41249b
cmp dword [esi + 0x28], edi
ja 0x41249b
mov eax, dword [esp + 0x50]
mov al, byte [eax]
neg al
sbb eax, eax
and eax, dword [esp + 0x58]
je 0x41247a
mov ecx, dword [eax + 4]
cmp ecx, edx
jb 0x41247a
ja 0x41249b
mov eax, dword [eax]
cmp eax, dword [esp + 0x124]
jb 0x41247a
ja 0x41249b
lea esi, [esp + 0x10c]
call fcn.0040e770
push ebx
push edi
lea esi, [esp + 0xc0]
call fcn.004012b6
push ebx
push edi
jmp 0x4123c8
mov eax, dword [esi + 0x28]
sub eax, ebx
je 0x4124ac
dec eax
dec eax
jne 0x4127c3
jmp 0x41247a
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x64], eax
lea eax, [esi + 0x10c]
cmp eax, ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], eax
je 0x4124ec
mov eax, dword [eax]
cmp eax, ebx
je 0x4124ec
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x14]
mov byte [esp + 0x2d8], 0x11
call fcn.0042213c
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov cl, byte [esp + 0x2f]
neg cl
push edi
lea edx, [esp + 0x68]
mov dword [esp + 0x50], eax
mov eax, dword [eax]
sbb ecx, ecx
and ecx, edx
push ecx
mov ecx, dword [esp + 0x60]
mov cl, byte [ecx]
neg cl
sbb ecx, ecx
and ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x68]
call dword [eax + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x41259c
lea esi, [esp + 0x18]
call fcn.0040ec20
lea esi, [esp + 0x10c]
call fcn.0040e770
push ebx
push edi
lea esi, [esp + 0xc0]
call fcn.004012b6
push ebx
push edi
lea esi, [esp + 0xdc]
call fcn.004012b6
lea esi, [esp + 0x30]
call fcn.00403c6c
jmp 0x411b1a
mov eax, dword [esp + 0x48]
cmp eax, 7
ja case.default.0x4125a9
jmp dword [eax*4 + 0x412e5b]
lea esi, [esp + 0x18]
call fcn.0040ec20
lea esi, [esp + 0x10c]
call fcn.0040e770
push ebx
push edi
lea esi, [esp + 0xc0]
call fcn.004012b6
push ebx
push edi
lea esi, [esp + 0xdc]
call fcn.004012b6
lea esi, [esp + 0x30]
call fcn.00403c6c
mov ebx, 0x80004004
jmp 0x411a45
mov dword [esi + 0x28], 2
lea esi, [esp + 0x18]
call fcn.0040ec20
jmp 0x41247a
mov dword [esi + 0x28], edi
jmp 0x4127ae
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
lea eax, [esi + 0x48]
push eax
xor ebx, ebx
lea eax, [esp + 0xc0]
call fcn.00401322
lea eax, [esp + 0xb8]
push eax
call fcn.00410bb4
test al, al
pop ecx
jne 0x4126f0
lea eax, [esp + 0x9c]
push 0x271b
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x2a0]
push eax
mov byte [esp + 0x2ec], 0x12
call fcn.0040835d
add esp, 0x14
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0xa4]
mov byte [esp + 0x2e0], 0x14
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x290]
push eax
push dword [ebp + 8]
call fcn.00413800
lea esi, [esp + 0x290]
jmp 0x412789
call fcn.004012b6
jmp 0x41255d
call fcn.004012b6
lea esi, [esp + 0x18]
call fcn.0040ec20
lea esi, [esp + 0x10c]
call fcn.0040e770
push ebx
push edi
lea esi, [esp + 0xc0]
call fcn.004012b6
push ebx
push edi
lea esi, [esp + 0xdc]
call fcn.004012b6
jmp 0x411d5c
xor edi, edi
xor ebx, ebx
mov byte [esi + 0x64], 1
inc edi
jmp 0x4127ae
mov dword [esi + 0x28], 3
jmp 0x4127ae
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x17], 1
call fcn.00410bb4
test al, al
pop ecx
jne 0x4127ae
lea eax, [esp + 0x80]
push 0x271b
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x284]
push eax
mov byte [esp + 0x2ec], 0x15
call fcn.0040835d
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x88]
mov byte [esp + 0x2e0], 0x17
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x274]
push eax
push dword [ebp + 8]
call fcn.00413800
lea esi, [esp + 0x274]
cmp eax, ebx
push ebx
push edi
mov dword [esp + 0x1c], eax
jne 0x4126ab
jmp 0x4126b5
cmp dword [esp + 0xcc], ebx
mov byte [esp + 0x13], 1
je case.default.0x4125a9
lea esi, [esp + 0x18]
mov byte [esp + 0x2d8], 0x10
call fcn.0040ec20
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 0x28]
cmp esi, 3
jne 0x41284a
lea eax, [esp + 0xb8]
push eax
call fcn.00410bb4
test al, al
pop ecx
jne 0x412ba0
lea eax, [esp + 0x154]
push 0x271b
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x2bc]
push eax
mov byte [esp + 0x2ec], 0x18
call fcn.0040835d
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x15c]
mov byte [esp + 0x2e0], 0x1a
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2ac]
push eax
push dword [ebp + 8]
call fcn.00413800
lea esi, [esp + 0x2ac]
jmp 0x412a52
cmp esi, 4
jne 0x4129b9
lea eax, [esp + 0xb8]
lea esi, [esp + 0xf0]
call fcn.00403d21
mov eax, esi
push eax
mov byte [esp + 0x2dc], 0x1b
call fcn.00410bb4
test al, al
pop ecx
jne 0x412918
lea eax, [esp + 0x154]
push 0x271b
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x1fc]
push eax
mov byte [esp + 0x2ec], 0x1c
call fcn.0040835d
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x15c]
mov byte [esp + 0x2e0], 0x1e
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1ec]
push eax
push dword [ebp + 8]
call fcn.00413800
lea esi, [esp + 0x1ec]
jmp 0x412993
call fcn.004012b6
push ebx
push edi
lea esi, [esp + 0xf8]
call fcn.004012b6
jmp 0x412566
call fcn.004012b6
push ebx
push edi
lea esi, [esp + 0xf8]
call fcn.004012b6
jmp 0x4126c3
lea eax, [esp + 0xf0]
lea ecx, [esp + 0xb8]
call fcn.0040b850
test al, al
jne 0x4129a6
lea eax, [esp + 0x154]
push 0x271d
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x180]
push eax
mov byte [esp + 0x2ec], 0x1f
call fcn.0040835d
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x15c]
mov byte [esp + 0x2e0], 0x21
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x170]
push eax
push dword [ebp + 8]
call fcn.00413800
lea esi, [esp + 0x170]
cmp eax, ebx
push ebx
push edi
mov dword [esp + 0x1c], eax
jne 0x4128e8
jmp 0x412900
push ebx
push edi
lea esi, [esp + 0xf8]
call fcn.004012b6
jmp 0x412ba0
cmp esi, edi
jne 0x412a73
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
lea eax, [esi + 0x48]
push eax
xor ebx, ebx
lea eax, [esp + 0xc0]
call fcn.00401322
lea eax, [esp + 0xb8]
push eax
call fcn.00410bb4
test al, al
pop ecx
jne 0x412a65
lea eax, [esp + 0x170]
push 0x271b
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x2ec], 0x22
call fcn.0040835d
add esp, 0x14
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x178]
mov byte [esp + 0x2e0], 0x24
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x154]
push eax
push dword [ebp + 8]
call fcn.00413800
lea esi, [esp + 0x154]
cmp eax, ebx
push ebx
push edi
mov dword [esp + 0x1c], eax
jne 0x4128f6
jmp 0x41290e
xor edi, edi
xor ebx, ebx
mov byte [esi + 0x64], 1
inc edi
jmp 0x412ba0
cmp byte [esp + 0x13], bl
jne 0x412ba0
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x64], bl
jne 0x412ba0
lea eax, [esp + 0xb8]
push eax
call fcn.0040fb90
test al, al
pop ecx
jne 0x412ba0
lea eax, [esp + 0x154]
push 0x271c
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x218]
push eax
mov byte [esp + 0x2ec], 0x25
call fcn.0040835d
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x15c]
mov byte [esp + 0x2e0], 0x27
call fcn.004012b6
lea eax, [esp + 0x170]
push 0x2790
push eax
call fcn.00402ca2
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x210]
mov byte [esp + 0x2e0], 0x28
call fcn.004041b7
push ebx
push edi
lea esi, [esp + 0x178]
mov byte [esp + 0x2e0], 0x27
call fcn.004012b6
lea esi, [esp + 0x170]
call fcn.0040cf00
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x210]
mov byte [esp + 0x2e0], 0x29
call fcn.004041b7
push ebx
push edi
lea esi, [esp + 0x178]
mov byte [esp + 0x2e0], 0x27
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x208]
push eax
push dword [ebp + 8]
call fcn.00413800
cmp eax, ebx
push ebx
mov dword [esp + 0x18], eax
lea esi, [esp + 0x20c]
push edi
jne 0x4128f6
call fcn.004012b6
jmp 0x41247a
cmp dword [esi + 0x20], 2
je 0x41247a
lea esi, [esp + 0x10c]
mov byte [esp + 0x2d8], 0xe
call fcn.0040e770
mov esi, dword [esp + 0x20]
cmp byte [esp + 0x1f], bl
jne 0x412dfc
push 0x58
call fcn.00434ec3
cmp eax, ebx
pop ecx
je 0x412bdb
mov edx, dword [esi + 0xf4]
call fcn.0042d290
jmp 0x412bdd
xor eax, eax
cmp eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x74], eax
je 0x412bed
lea ecx, [eax + 8]
jmp 0x412bef
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.004295fb
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov byte [esp + 0x2d8], 0x2a
cmp byte [eax + 0x28], bl
mov esi, dword [eax + 0x74]
setne cl
lea ecx, [ecx + ecx + 2]
push ecx
lea ecx, [esp + 0xbc]
push ecx
call fcn.0042d410
test al, al
jne 0x412d57
mov esi, dword [esp + 0x40]
call fcn.0041a99d
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x74], ebx
lea eax, [esp + 0x154]
push 0x271b
push eax
call fcn.00402ca2
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x1b8]
push eax
mov byte [esp + 0x2ec], 0x2b
call fcn.0040835d
add esp, 0x14
push ebx
push edi
lea esi, [esp + 0x15c]
mov byte [esp + 0x2e0], 0x2d
call fcn.004012b6
lea eax, [esp + 0x170]
push 0x2790
push eax
call fcn.00402ca2
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x1b0]
mov byte [esp + 0x2e0], 0x2e
call fcn.004041b7
push ebx
push edi
lea esi, [esp + 0x178]
mov byte [esp + 0x2e0], 0x2d
call fcn.004012b6
lea esi, [esp + 0x1ec]
call fcn.0040cf00
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x1b0]
mov byte [esp + 0x2e0], 0x2f
call fcn.004041b7
push ebx
push edi
lea esi, [esp + 0x1f4]
mov byte [esp + 0x2e0], 0x2d
call fcn.004012b6
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1a8]
push eax
push dword [ebp + 8]
call fcn.00413800
cmp eax, ebx
push ebx
mov dword [esp + 0x18], eax
lea esi, [esp + 0x1ac]
push edi
je 0x412d3c
call fcn.004012b6
lea eax, [esp + 0x18]
mov byte [esp + 0x2d8], 0xe
call fcn.004148f9
jmp 0x412572
call fcn.004012b6
lea eax, [esp + 0x18]
mov byte [esp + 0x2d8], 0xe
call fcn.004148f9
jmp 0x412486
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x28], bl
je 0x412d99
mov ecx, dword [eax + 0x74]
push ebx
push ebx
push dword [eax + 0x24]
add ecx, 8
push dword [eax + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x412d99
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x74]
call fcn.0042d460
mov esi, dword [esp + 0x40]
call fcn.0041a99d
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x74], ebx
jmp 0x412d26
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x18]
call fcn.00415fcb
cmp byte [esp + 0x27], bl
je 0x412dd8
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x28], bl
jne 0x412dd8
mov edx, dword [eax + 0x6c]
cmp edx, ebx
mov esi, dword [eax + 0x68]
ja 0x412dc7
cmp esi, 0x8000
jbe 0x412dd8
mov eax, dword [eax + 0x74]
cmp eax, ebx
je 0x412dd8
lea ecx, [eax + 8]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x18]
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x412deb
lea ecx, [esp + 0x18]
call fcn.0042fd6e
mov dword [esi], eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2d8], 0xe
call fcn.004148f9
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
lea eax, [esi + 0x2c]
push eax
xor ebx, ebx
lea eax, [esp + 0xc0]
call fcn.00401322
push ebx
mov byte [esi + 0x9d], 1
push 1
lea esi, [esp + 0xc0]
call fcn.004012b6
push ebx
push 1
lea esi, [esp + 0xdc]
call fcn.004012b6
lea esi, [esp + 0x30]
call fcn.00403c6c
jmp 0x411bc2
mov eax, dword [esp + 0x54]
test eax, eax
je 0x411bc2
and dword [eax], 0
jmp 0x411bc2