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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4746
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x456e51
cmp byte [eax], 0
je 0x456e51
push esi
push edi
mov edi, 0x1000
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
push ebp
push 0x80
push 2
push ebp
push 1
push 0xc0000000
push eax
mov dword [esp + 0xf8], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x456e4a
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0xc0000000
call fcn.0040d346
test eax, eax
jne 0x455ee4
cmp dword [esp + 0x48], ebp
je 0x455e5d
call fcn.0040d3c8
mov esi, dword [esp + 0x3c]
cmp esi, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x455e84
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
xor esi, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov edi, dword [esp + 0x28]
cmp edi, 0xffffffff
je 0x455ea7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
cmp dword [esp + 0x48], ebp
je 0x455ebe
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
cmp esi, ebp
je 0x455ecd
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp edi, 0xffffffff
je 0x456e4a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x456775
push 1
push ebx
call fcn.004539f8
mov al, 0x54
push 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], al
mov byte [esp + 0x8d], al
mov eax, dword [ebx + 0x18]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x92], 0x42
mov byte [esp + 0x93], 0x4c
mov dword [esp + 0x94], 4
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], eax
call fcn.0041ccf7
cmp eax, 0x10
je 0x455f85
cmp dword [esp + 0x48], ebp
je 0x455f53
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x455f6a
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x456e4a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x456775
mov esi, dword [esp + 0xe4]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.00401809
add esp, 8
lea edi, [esp + 0x28]
call fcn.00454fa0
mov edi, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [0x4e4154]
neg ebx
sbb bl, bl
add edi, 0xfffffff4
inc bl
cmp edi, eax
je 0x455fd3
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455fd3
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test bl, bl
jne 0x455f44
lea eax, [esp + 0x24]
push ebp
push eax
mov eax, dword [0x4e6104]
call fcn.00401809
add esp, 8
lea edi, [esp + 0x28]
call fcn.00454fa0
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [esp + 0x24]
inc bl
call fcn.00402efc
test bl, bl
jne 0x455f44
mov eax, dword [0x4e6108]
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.00401809
add esp, 8
call fcn.00454fa0
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [esp + 0x24]
inc bl
call fcn.00402efc
test bl, bl
jne 0x455f44
lea edx, [esp + 0xa4]
push edx
call fcn.0048b2f3
mov byte [esp + 0xdc], 1
mov eax, dword [esi + 4]
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ebp
jle 0x45675b
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xe4]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call fcn.004ad145
mov esi, dword [eax]
test esi, esi
mov dword [esp + 0x5c], esi
je 0x456090
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test esi, esi
jne 0x4560a1
mov byte [esp + 0xdc], 1
jmp 0x456746
push esi
lea eax, [esp + 0x58]
call fcn.0040405d
mov byte [esp + 0xdc], 8
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4561b5
mov eax, dword [0x4e4154]
lea edi, [ebp - 0xc]
cmp edi, eax
je 0x4560df
push edi
call ebx
test eax, eax
jg 0x4560df
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], 1
call ebx
test eax, eax
jne 0x456746
mov dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 0xd
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x45610b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je 0x456180
mov eax, dword [esi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x456173
nop
mov edi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456145
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456145
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x45616a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45616a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x456120
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub edi, 0xc
cmp edi, eax
je 0x45636a
push edi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x456370
push edi
call ebx
add esp, 4
jmp 0x456370
lea eax, [esp + 0x84]
push 0
push eax
mov eax, ebp
call fcn.00401809
add esp, 8
lea edi, [esp + 0x28]
call fcn.00454fa0
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [esp + 0x84]
inc bl
call fcn.00402efc
test bl, bl
jne 0x456790
mov eax, dword [esp + 0x58]
test ax, ax
mov dword [esp + 0x10], 0
mov dword [esp + 0x6c], eax
je 0x45620b
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xec]
test eax, eax
je 0x4563d9
lea ecx, [esp + 0x1c]
push ecx
push esi
lea edx, [esp + 0xac]
push edx
mov ebx, esi
call fcn.00457f9c
test al, al
je 0x4563d9
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0041ccf7
cmp eax, 2
jne 0x45691e
mov al, byte [esp + 0x10]
mov bl, 1
test bl, al
je 0x456273
push 2
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x74]
call fcn.0041ccf7
cmp eax, 2
jne 0x456aa1
mov eax, dword [0x4e4154]
lea edi, [ebp - 0xc]
cmp edi, eax
je 0x456294
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456294
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], bl
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x456746
mov dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 0x21
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4562c3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je 0x456340
mov eax, dword [esi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x456333
jmp 0x4562e0
mov edi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456305
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456305
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x45632a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45632a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x4562e0
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub edi, 0xc
cmp edi, eax
je 0x45636a
push edi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x456370
push edi
call ebx
add esp, 4
jmp 0x456370
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [esi + 0x10]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x45638c
push edi
call ebp
test eax, eax
jg 0x45638c
push edi
call ebx
add esp, 4
mov edi, dword [esi + 0xc]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x4563a8
push edi
call ebp
test eax, eax
jg 0x4563a8
push edi
call ebx
add esp, 4
mov byte [esp + 0xdc], 1
mov edi, dword [esi + 8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x45673d
push edi
call ebp
test eax, eax
jg 0x45673d
push edi
call ebx
add esp, 4
jmp 0x45673d
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004898f8
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4563f7
or dword [esp + 0x10], 2
mov eax, dword [esi + 0x14]
test eax, eax
mov dword [esp + 0x98], eax
jl 0x45640a
or dword [esp + 0x10], 4
push esi
call fcn.00452da7
mov edx, dword [esp + 0x10]
or edx, 0x40
mov dword [esp + 0x9c], eax
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x2c]
test al, al
mov byte [esp + 0x53], al
je 0x456438
mov eax, edx
or eax, 0x80
mov dword [esp + 0x10], eax
push esi
call fcn.0040d9e9
mov ebp, dword [0x4e4150]
xor ebx, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
cmp dword [0x4e60f8], ebx
mov dword [esp + 0x70], ebx
mov word [esp + 0x74], bx
mov word [esp + 0x76], bx
mov dword [esp + 0x78], ebx
jne 0x456471
cmp dword [esi + 0x2c], ebx
je 0x4564f0
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
or ecx, 8
push esi
lea eax, [esp + 0x80]
mov dword [esp + 0x14], ecx
call fcn.0040d9b7
mov edi, eax
lea eax, [esp + 0x18]
call fcn.0040301a
lea eax, [esp + 0x7c]
call fcn.00402efc
mov eax, dword [esi + 0x18]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov cx, word [esi + 0x1c]
mov word [esp + 0x74], cx
mov dx, word [esi + 0x1e]
mov word [esp + 0x76], dx
mov edi, dword [esi + 0x20]
mov dword [esp + 0x78], edi
cmp dword [ebp - 8], ebx
jne 0x4564df
cmp eax, ebx
jne 0x4564df
cmp cx, bx
jne 0x4564df
cmp dx, bx
jne 0x4564df
cmp edi, ebx
je 0x4564e4
or dword [esp + 0x10], 0x10
cmp word [esp + 0x64], bx
je 0x4564f0
or dword [esp + 0x10], 0x20
push 2
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041ccf7
cmp eax, 2
jne 0x456c2e
test byte [esp + 0x10], 1
je 0x456529
push 2
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x74]
call fcn.0041ccf7
cmp eax, 2
jne 0x456ddb
test byte [esp + 0x10], 2
je 0x45656b
lea eax, [esp + 0xa0]
push 0
push eax
mov eax, dword [esp + 0x1c]
call fcn.00401809
add esp, 8
lea edi, [esp + 0x28]
call fcn.00454fa0
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [esp + 0xa0]
inc bl
call fcn.00402efc
test bl, bl
jne 0x456ddb
test byte [esp + 0x10], 4
je 0x45658e
push 4
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xa0]
call fcn.0041ccf7
cmp eax, 4
jne 0x456ddb
test byte [esp + 0x10], 8
je 0x4565ae
push 4
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
call fcn.0041ccf7
cmp eax, 4
jne 0x456ddb
test byte [esp + 0x10], 0x10
je 0x456607
lea eax, [esp + 0x80]
push 0
push eax
mov eax, ebp
call fcn.00401809
add esp, 8
lea edi, [esp + 0x28]
call fcn.00454fa0
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [esp + 0x80]
inc bl
call fcn.00402efc
test bl, bl
jne 0x456ddb
push 0xc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x78]
call fcn.0041ccf7
cmp eax, 0xc
jne 0x456ddb
test byte [esp + 0x10], 0x20
je 0x4566a8
push 2
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0041ccf7
cmp eax, 2
jne 0x456ddb
xor ebx, ebx
cmp word [esp + 0x64], bx
jle 0x4566a8
jmp 0x456640
mov eax, dword [0x4e4150]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
mov byte [esp + 0xec], 0x2a
call fcn.0040da0c
lea eax, [esp + 0x1c]
lea edi, [esp + 0x28]
call fcn.00454f60
test eax, eax
lea eax, [esp + 0x60]
je 0x456dcd
call fcn.00454fa0
test eax, eax
lea eax, [esp + 0x60]
je 0x456dcd
call fcn.00402efc
lea eax, [esp + 0x1c]
call fcn.00402efc
movsx edx, word [esp + 0x64]
inc ebx
cmp ebx, edx
jl 0x456640
test byte [esp + 0x10], 0x40
je 0x4566cb
push 4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa4]
call fcn.0041ccf7
cmp eax, 4
jne 0x456ddb
mov al, byte [esp + 0x10]
test al, al
jns 0x4566ec
push 1
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x5b]
call fcn.0041ccf7
cmp eax, 1
jne 0x456ddb
lea eax, [esp + 0x18]
call fcn.00402efc
lea eax, [esp + 0x14]
call fcn.00402efc
mov edi, dword [esp + 0x54]
mov eax, dword [0x4e4154]
add edi, 0xfffffff4
cmp edi, eax
je 0x456723
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456723
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x456746
mov edi, esi
call fcn.004040e4
push esi
call fcn.004befd4
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x456069
lea eax, [esp + 0xa4]
call fcn.004521d8
lea eax, [esp + 0x28]
call fcn.0040d27c
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xcc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 0xc
mov eax, dword [0x4e4154]
lea edi, [ebp - 0xc]
cmp edi, eax
je 0x4567b1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4567b1
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4568ed
mov dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 0x12
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4567e1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je 0x456860
mov eax, dword [esi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jbe 0x456853
jmp 0x456800
mov edi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456825
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456825
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x45684a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45684a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x456800
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub edi, 0xc
cmp edi, eax
je 0x45688a
push edi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x456890
push edi
call ebx
add esp, 4
jmp 0x456890
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [esi + 0x10]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x4568ac
push edi
call ebp
test eax, eax
jg 0x4568ac
push edi
call ebx
add esp, 4
mov edi, dword [esi + 0xc]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x4568c8
push edi
call ebp
test eax, eax
jg 0x4568c8
push edi
call ebx
add esp, 4
mov edi, dword [esi + 8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x4568e4
push edi
call ebp
test eax, eax
jg 0x4568e4
push edi
call ebx
add esp, 4
push esi
call fcn.004befd4
add esp, 4
lea eax, [esp + 0xa4]
call fcn.004521d8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45690a
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x455f6a
push eax
push 0
jmp 0x455f5d
mov eax, dword [0x4e4154]
lea edi, [ebp - 0xc]
cmp edi, eax
je 0x45693f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45693f
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x456a70
mov dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 0x17
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x45696f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je 0x4569e3
mov eax, dword [esi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jbe 0x4569d6
mov edi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x4569a8
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4569a8
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x4569cd
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4569cd
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x456983
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub edi, 0xc
cmp edi, eax
je 0x456a0d
push edi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x456a13
push edi
call ebx
add esp, 4
jmp 0x456a13
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [esi + 0x10]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456a2f
push edi
call ebp
test eax, eax
jg 0x456a2f
push edi
call ebx
add esp, 4
mov edi, dword [esi + 0xc]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456a4b
push edi
call ebp
test eax, eax
jg 0x456a4b
push edi
call ebx
add esp, 4
mov edi, dword [esi + 8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456a67
push edi
call ebp
test eax, eax
jg 0x456a67
push edi
call ebx
add esp, 4
push esi
call fcn.004befd4
add esp, 4
lea eax, [esp + 0xa4]
call fcn.004521d8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x456a8d
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x455f6a
push eax
push 0
jmp 0x455f5d
mov eax, dword [0x4e4154]
lea edi, [ebp - 0xc]
cmp edi, eax
je 0x456ac2
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456ac2
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], bl
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x456bfd
mov dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 0x1c
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x456af1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je 0x456b70
mov eax, dword [esi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jbe 0x456b63
jmp 0x456b10
mov edi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456b35
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456b35
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456b5a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456b5a
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x456b10
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub edi, 0xc
cmp edi, eax
je 0x456b9a
push edi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x456ba0
push edi
call ebx
add esp, 4
jmp 0x456ba0
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [esi + 0x10]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456bbc
push edi
call ebp
test eax, eax
jg 0x456bbc
push edi
call ebx
add esp, 4
mov edi, dword [esi + 0xc]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456bd8
push edi
call ebp
test eax, eax
jg 0x456bd8
push edi
call ebx
add esp, 4
mov edi, dword [esi + 8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456bf4
push edi
call ebp
test eax, eax
jg 0x456bf4
push edi
call ebx
add esp, 4
push esi
call fcn.004befd4
add esp, 4
lea eax, [esp + 0xa4]
call fcn.004521d8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x456c1a
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x455f6a
push eax
push 0
jmp 0x455f5d
lea eax, [esp + 0x18]
call fcn.00402efc
lea eax, [esp + 0x14]
call fcn.00402efc
mov edi, dword [esp + 0x54]
mov eax, dword [0x4e4154]
add edi, 0xfffffff4
cmp edi, eax
je 0x456c65
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456c65
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x456d9f
mov dword [esp + 0x5c], esi
mov byte [esp + 0xdc], 0x28
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x456c95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [esi + 0x3c]
test ebp, ebp
je 0x456d10
mov eax, dword [esi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jbe 0x456d03
lea esp, [esp]
mov edi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456cd5
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456cd5
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456cfa
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456cfa
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x456cb0
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub edi, 0xc
cmp edi, eax
je 0x456d3a
push edi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x456d40
push edi
call ebx
add esp, 4
jmp 0x456d40
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [esi + 0x10]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456d5c
push edi
call ebp
test eax, eax
jg 0x456d5c
push edi
call ebx
add esp, 4
mov edi, dword [esi + 0xc]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456d78
push edi
call ebp
test eax, eax
jg 0x456d78
push edi
call ebx
add esp, 4
mov edi, dword [esi + 8]
mov eax, dword [0x4e4154]
sub edi, 0xc
cmp edi, eax
je 0x456d94
push edi
call ebp
test eax, eax
jg 0x456d94
push edi
call ebx
add esp, 4
push esi
call fcn.004befd4
add esp, 4
xor ebx, ebx
lea eax, [esp + 0xa4]
call fcn.004521d8
cmp dword [esp + 0x48], ebx
je 0x456dba
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x455f6a
push eax
push ebx
jmp 0x455f5d
call fcn.00402efc
lea eax, [esp + 0x1c]
call fcn.00402efc
lea eax, [esp + 0x18]
call fcn.00402efc
lea eax, [esp + 0x14]
call fcn.00402efc
mov edi, dword [esp + 0x54]
mov eax, dword [0x4e4154]
add edi, 0xfffffff4
cmp edi, eax
je 0x456e12
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x456e12
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
mov byte [esp + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x456e35
mov edi, esi
call fcn.004040e4
push esi
call fcn.004befd4
add esp, 4
lea eax, [esp + 0xa4]
call fcn.004521d8
lea eax, [esp + 0x28]
call fcn.0040d27c
xor eax, eax
jmp 0x456775
xor eax, eax
jmp 0x456777