Function at 0x404990
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41b309
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x42dc
call fcn.00411a60
mov eax, dword [0x4231dc]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x42e0], eax
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x1b8], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push edx
mov edx, ecx
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x42fc], ebx
call fcn.0040e310
test eax, eax
mov esi, 0xf
mov edi, 0x10
je 0x404b45
push 0x11
push str.Extract7zContents
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.00401ab0
push 0xd
push str..SFXStub.cpp
lea ecx, [esp + 0x50]
mov byte [esp + 0x42fc], 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00401ab0
push 0x2d
push str.Cannot_open_file_in_order_to_extract_contents
lea ecx, [esp + 0x24c]
mov byte [esp + 0x42fc], 2
mov dword [esp + 0x264], esi
mov dword [esp + 0x260], ebx
mov byte [esp + 0x250], bl
call fcn.00401ab0
lea eax, [esp + 0x74]
push eax
push 0x102
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x250]
push edx
lea ecx, [esp + 0x270]
mov byte [esp + 0x4304], 3
call fcn.00407080
cmp dword [esp + 0x25c], edi
jb 0x404ac2
mov eax, dword [esp + 0x248]
push eax
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x25c], esi
mov dword [esp + 0x258], ebx
mov byte [esp + 0x248], bl
jb 0x404aea
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x8c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x42f4], 5
jb 0x404b14
mov edx, dword [esp + 0x78]
push edx
call fcn.004112ad
add esp, 4
lea ecx, [esp + 0x260]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.0040718a
lea ecx, [esp + 0x260]
mov byte [esp + 0x42f4], bl
call fcn.00406fcd
lea ecx, [esp + 0x1b0]
call fcn.0040e300
xor edx, edx
lea ecx, [esp + 0x2c0]
call fcn.0040ed00
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x2d0], eax
call fcn.0040ed30
mov dword [esp + 0x18], 0x40f0e0
mov dword [esp + 0x1c], 0x40f100
mov dword [esp + 0xf0], 0x40f0e0
mov dword [esp + 0xf4], 0x40f100
call fcn.0040efe0
lea ecx, [esp + 0x200]
call fcn.0040bf30
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x2c8]
lea ecx, [esp + 0x208]
call fcn.0040e140
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x40520b
mov ecx, dword [esp + 0x21c]
cmp ecx, ebx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [0x424060], ebx
mov dword [0x424064], ebx
jbe 0x404c2c
mov eax, dword [esp + 0x210]
add eax, 8
mov edx, ecx
jmp 0x404c10
cmp byte [eax + 0x11], bl
jne 0x404c26
mov esi, dword [eax]
add dword [0x424060], esi
mov esi, dword [eax + 4]
adc dword [0x424064], esi
add eax, 0x20
dec edx
jne 0x404c10
cmp ecx, ebx
mov dword [esp + 0x34], ebx
jbe 0x4051f5
mov dword [esp + 0x3c], ebx
lea esp, [esp]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x210]
mov esi, dword [ecx + eax + 0x10]
lea edi, [ecx + eax]
push esi
mov dword [esp + 0x260], 7
mov dword [esp + 0x25c], ebx
mov word [esp + 0x24c], bx
call fcn.0041192e
add esp, 4
push eax
push esi
lea ecx, [esp + 0x24c]
call fcn.00403970
mov byte [esp + 0x42f4], 8
or esi, 0xffffffff
mov edi, edi
push 0x41d45c
call fcn.0041192e
add esp, 4
push eax
inc esi
push esi
push 0x41d45c
lea ecx, [esp + 0x250]
call fcn.00402c80
mov esi, eax
cmp byte [edi + 0x19], bl
jne 0x404cc1
cmp esi, 0xffffffff
je 0x404d86
push esi
push ebx
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x250]
call fcn.00403af0
push eax
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x4300], 9
call fcn.004045d0
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, 8
jb 0x404d02
mov eax, dword [eax + 4]
jmp 0x404d05
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp dword [esp + 0xb4], 8
jb 0x404d27
mov edx, dword [esp + 0xa0]
push edx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0xec], 8
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
mov byte [esp + 0x42f4], 8
jb 0x404d63
mov eax, dword [esp + 0xd8]
push eax
call fcn.004112ad
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
jne 0x404c90
cmp byte [edi + 0x19], bl
je 0x404dad
cmp dword [esp + 0x25c], 8
mov byte [esp + 0x42f4], bl
jb 0x405141
mov ecx, dword [esp + 0x248]
push ecx
jmp 0x405139
mov dword [esp + 0x48], ebx
push 0x40
mov byte [esp + 0x42f8], 0xa
call fcn.00410e24
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
mov byte [esp + 0x42f4], 0xb
je 0x404e1f
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x244]
push edx
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.004045d0
add esp, 0xc
mov edx, dword [esp + 0x24]
push ebx
push 0x1000
push 0x80
push ebx
push 2
push 1
or edx, 1
push eax
mov ecx, esi
mov byte [esp + 0x4310], 0xc
mov dword [esp + 0x40], edx
call fcn.004089af
jmp 0x404e21
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x404e37
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
test byte [esp + 0x24], 1
mov dword [esp + 0x42f4], 0xf
je 0x404e8a
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xd0]
and ecx, 0xfffffffe
cmp eax, 8
mov dword [esp + 0x24], ecx
jb 0x404e70
mov edx, dword [esp + 0xbc]
push edx
call fcn.004112ad
add esp, 4
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
mov edx, dword [esp + 0x20]
push ebx
push ebx
lea ecx, [esp + 0x50]
call fcn.0040e310
test eax, eax
jne 0x405180
mov eax, dword [esp + 0x23c]
mov ecx, dword [esp + 0x34]
mov edi, dword [eax + ecx*4]
cmp edi, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x404ed1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], ebx
jmp 0x4050c3
cmp dword [esp + 0x14], ebx
je 0x404ee1
cmp dword [esp + 0x38], edi
je 0x4050c3
mov eax, dword [esp + 0x20c]
lea edx, [edi + edi*4]
lea ecx, [eax + edx*8]
mov dword [esp + 0x30], ecx
call fcn.0040ee50
mov dword [esp + 0x44], edx
push ebx
mov edx, edi
lea ecx, [esp + 0x204]
mov dword [esp + 0x44], eax
call fcn.0040c160
mov esi, eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x90], esi
mov dword [esp + 0x38], edi
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
push ecx
push esi
lea ecx, [esp + 0x2c8]
mov dword [esp + 0x1c], ebx
call fcn.0040eb60
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4050c3
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jb 0x4050c3
ja 0x404f71
cmp dword [esp + 0x40], ebx
jbe 0x4050c3
mov dword [esp + 0xf8], 0x100000
mov dword [esp + 0xfc], ebx
cmp dword [0x424098], ebx
jle 0x404fa0
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0xc8
call esi
cmp dword [0x424098], ebx
jg 0x404f91
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x44]
sbb eax, esi
cmp eax, ebx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
jg 0x404fd9
jl 0x404fd0
cmp ecx, 0x100000
jae 0x404fd9
lea eax, [esp + 0x100]
jmp 0x404fe0
lea eax, [esp + 0xf8]
mov esi, dword [eax]
cmp esi, ebx
je 0x405008
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call dword [esp + 0x1c]
mov edx, esi
lea ecx, [esp + 0x18]
call dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4050b1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xf0]
push edx
add ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x30]
push esi
push eax
adc edx, dword [esp + 0xa0]
push edx
push ecx
mov ecx, dword [esp + 0x244]
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x2d4]
push eax
mov eax, dword [esp + 0x218]
lea ecx, [eax + edx*8]
mov edx, dword [esp + 0x48]
call fcn.0040eb00
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4050c3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x70], esi
call fcn.0040e1d0
test eax, eax
jne 0x4050bb
cmp dword [esp + 0x6c], esi
jne 0x4050bb
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
add esi, 0x100000
adc eax, ebx
cmp eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
jb 0x404f83
ja 0x4050c3
mov edx, dword [esp + 0x40]
mov eax, esi
cmp eax, edx
jb 0x404f83
jmp 0x4050c3
mov dword [esp + 0x10], 2
jmp 0x4050c3
mov dword [esp + 0x10], 0xb
lea ecx, [esp + 0x48]
call fcn.0040e370
test eax, eax
mov esi, dword [esp + 0x20]
mov byte [esp + 0x42f4], 0xa
jne 0x40518c
cmp esi, ebx
je 0x4050fa
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
cmp eax, ebx
jne 0x4050fa
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov esi, dword [esp + 0x48]
cmp esi, ebx
mov byte [esp + 0x42f4], 8
je 0x405120
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
cmp eax, ebx
jne 0x405120
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
cmp dword [esp + 0x25c], 8
mov byte [esp + 0x42f4], bl
jb 0x405141
mov eax, dword [esp + 0x248]
push eax
call fcn.004112ad
add esp, 4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x21c]
inc eax
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x25c], 7
mov dword [esp + 0x258], ebx
mov word [esp + 0x248], bx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
jb 0x404c40
jmp 0x4051f5
mov esi, dword [esp + 0x20]
mov byte [esp + 0x42f4], 0xa
cmp esi, ebx
mov dword [esp + 0x10], 0xb
je 0x4051ae
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
cmp eax, ebx
jne 0x4051ae
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov esi, dword [esp + 0x48]
cmp esi, ebx
mov byte [esp + 0x42f4], 8
je 0x4051d4
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
cmp eax, ebx
jne 0x4051d4
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
cmp dword [esp + 0x25c], 8
mov byte [esp + 0x42f4], bl
jb 0x4051f5
mov eax, dword [esp + 0x248]
push eax
call fcn.004112ad
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call dword [esp + 0x1c]
mov edi, 0x10
mov esi, 0xf
lea edx, [esp + 0x18]
lea ecx, [esp + 0x200]
call fcn.0040bf50
lea ecx, [esp + 0x1b8]
call fcn.0040e370
mov eax, dword [esp + 0x10]
cmp eax, 4
ja case.0x405236.1
mov ecx, eax
jmp dword [ecx*4 + 0x4058a4]
push 0x11
push str.Extract7zContents
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00401ab0
push 0xd
push str..SFXStub.cpp
lea ecx, [esp + 0x24c]
mov byte [esp + 0x42fc], 0x10
mov dword [esp + 0x264], esi
mov dword [esp + 0x260], ebx
mov byte [esp + 0x250], bl
call fcn.00401ab0
push 0x24
push str.decoder_doesnt_support_this_archive
lea ecx, [esp + 0x7c]
mov byte [esp + 0x42fc], 0x11
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.00401ab0
lea ecx, [esp + 0x48]
push ecx
push 0x1b8
lea edx, [esp + 0x24c]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x270]
mov byte [esp + 0x4304], 0x12
call fcn.00407080
cmp dword [esp + 0x8c], edi
jb 0x4052fa
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x25c], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jb 0x405325
mov edx, dword [esp + 0x248]
push edx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x25c], esi
mov dword [esp + 0x258], ebx
mov byte [esp + 0x248], bl
mov byte [esp + 0x42f4], 0x14
jb 0x405355
mov eax, dword [esp + 0x4c]
push eax
call fcn.004112ad
add esp, 4
lea ecx, [esp + 0x260]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0040718a
lea ecx, [esp + 0x260]
mov byte [esp + 0x42f4], bl
call fcn.00406fcd
push 0x11
push str.Extract7zContents
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.00401ab0
push 0xd
push str..SFXStub.cpp
lea ecx, [esp + 0x148]
mov byte [esp + 0x42fc], 0x17
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
call fcn.00401ab0
push 0x17
push str.can_not_allocate_memory
lea ecx, [esp + 0x12c]
mov byte [esp + 0x42fc], 0x18
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00401ab0
lea ecx, [esp + 0x108]
push ecx
push 0x1ba
lea edx, [esp + 0x148]
push edx
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x270]
mov byte [esp + 0x4304], 0x19
call fcn.00407080
cmp dword [esp + 0x13c], edi
jb 0x405452
mov ecx, dword [esp + 0x128]
push ecx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x158], edi
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
jb 0x405480
mov edx, dword [esp + 0x144]
push edx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x120], edi
mov dword [esp + 0x158], esi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
mov byte [esp + 0x42f4], 0x1b
jb 0x4054b6
mov eax, dword [esp + 0x10c]
push eax
call fcn.004112ad
add esp, 4
lea ecx, [esp + 0x260]
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
call fcn.0040718a
lea ecx, [esp + 0x260]
mov byte [esp + 0x42f4], bl
call fcn.00406fcd
push 0x11
push str.Extract7zContents
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
call fcn.00401ab0
push 0xd
push str..SFXStub.cpp
lea ecx, [esp + 0x180]
mov byte [esp + 0x42fc], 0x1e
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
call fcn.00401ab0
push 9
push str.CRC_error
lea ecx, [esp + 0x164]
mov byte [esp + 0x42fc], 0x1f
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
call fcn.00401ab0
lea ecx, [esp + 0x194]
push ecx
push 0x1bc
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x270]
mov byte [esp + 0x4304], 0x20
call fcn.00407080
cmp dword [esp + 0x174], edi
jb 0x4055bc
mov ecx, dword [esp + 0x160]
push ecx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x190], edi
mov dword [esp + 0x174], esi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
jb 0x4055ea
mov edx, dword [esp + 0x17c]
push edx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x1ac], edi
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
mov byte [esp + 0x42f4], 0x22
jb 0x405620
mov eax, dword [esp + 0x198]
push eax
call fcn.004112ad
add esp, 4
lea ecx, [esp + 0x260]
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
call fcn.0040718a
lea ecx, [esp + 0x260]
mov byte [esp + 0x42f4], bl
call fcn.00406fcd
push 0x11
push str.Extract7zContents
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00401ab0
push 0xd
push str..SFXStub.cpp
lea ecx, [esp + 0xdc]
mov byte [esp + 0x42fc], 0x25
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.00401ab0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x42f4], 0x26
call fcn.00408c3a
mov dword [esp + 0x30], eax
push 7
push str.ERROR_
lea ecx, [esp + 0xc0]
mov byte [esp + 0x42fc], 0x27
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.00401ab0
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x1d0]
push eax
mov byte [esp + 0x4300], 0x28
call fcn.00404670
add esp, 0xc
lea ecx, [esp + 0x9c]
push ecx
push 0x1be
lea edx, [esp + 0xdc]
push edx
push eax
lea ecx, [esp + 0x270]
mov byte [esp + 0x4304], 0x29
call fcn.00407080
cmp dword [esp + 0x1e0], edi
jb 0x405760
mov eax, dword [esp + 0x1cc]
push eax
call fcn.004112ad
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1dc], ebx
mov byte [esp + 0x1cc], bl
jb 0x40578e
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0x1fc], edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x4057bc
mov edx, dword [esp + 0x1e8]
push edx
call fcn.004112ad
add esp, 4
cmp dword [esp + 0xec], edi
mov dword [esp + 0x1fc], esi
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1e8], bl
jb 0x4057ea
mov eax, dword [esp + 0xd8]
push eax
call fcn.004112ad
add esp, 4
cmp dword [esp + 0xb4], edi
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x42f4], 0x2b
jb 0x405820
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004112ad
add esp, 4
lea ecx, [esp + 0x260]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.0040718a
lea ecx, [esp + 0x260]
mov byte [esp + 0x42f4], bl
call fcn.00406fcd
mov esi, dword [esp + 0x1b8]
cmp esi, ebx
mov dword [esp + 0x42f4], 0xffffffff
je 0x405880
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x405880
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [esp + 0x42ec]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x42e4]
call fcn.00411920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8