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

Disassembly:
push 0xffffffffffffffff
push 0x4c48c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [esp + 0x9c]
push ebp
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x455d94
cmp byte [eax], 0
je 0x455d94
push ebx
push esi
push edi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x1000
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
push 0x80
push 3
push 1
push Ordinal_2
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xb4], ebp
call fcn.0040d45f
test eax, eax
jne 0x455086
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x4552b7
push eax
jmp 0x4552a5
mov ebx, dword [esp + 0x54]
cmp ebx, ebp
je 0x455094
mov eax, dword [esp + 0x50]
jmp 0x45509d
lea esi, [esp + 0x28]
call fcn.0040d2ae
cmp ebx, ebp
lea ecx, [ebx + eax]
mov dword [esp + 0x68], ecx
je 0x4552b7
cmp eax, 0x10
jb 0x4552a4
cmp dword [ebx], 0x4c425454
jne 0x4552a4
mov ecx, dword [ebx + 4]
cmp ecx, 4
jg 0x4552a4
mov eax, dword [ebx + 8]
cmp eax, ebp
je 0x4550e4
cmp eax, 0xfde9
je 0x4550e4
cmp eax, 0xffffffff
jne 0x4552a4
xor edx, edx
cmp ecx, 2
setge dl
lea edx, [edx*4 + 0xc]
add edx, ebx
cmp ecx, 2
mov dword [esp + 0x10], edx
jl 0x45510b
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x18], eax
mov edx, dword [0x4e4150]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
mov byte [esp + 0xa0], 1
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x78]
push ecx
lea esi, [esp + 0x18]
call fcn.00454e90
lea edx, [esp + 0x74]
mov esi, eax
mov eax, dword [esp + 0x7c]
push ebp
push edx
call fcn.00401721
mov edi, eax
mov eax, dword [esp + 0xb8]
add esp, 0x10
add eax, 0x10
call fcn.0040301a
lea eax, [esp + 0x6c]
call fcn.00402efc
cmp esi, ebp
je 0x45529b
cmp dword [esp + 0xb0], ebp
je 0x455227
lea eax, [esp + 0x74]
call fcn.00402efc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ebp
je 0x4551a1
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov esi, dword [esp + 0x3c]
cmp esi, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4551c8
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 0x4551eb
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 0x455202
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
cmp esi, ebp
je 0x455211
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp edi, 0xffffffff
je 0x45521d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x455344
mov eax, dword [0x4e4150]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0xa0], 3
cmp dword [ebx + 4], 3
jle 0x45535f
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x84]
push ecx
mov edx, edi
lea esi, [esp + 0x18]
call fcn.00454e90
add esp, 8
test eax, eax
lea eax, [esp + 0x7c]
je 0x45528a
mov edx, dword [ebx + 8]
push edx
push eax
mov edx, edi
call fcn.00454e90
add esp, 8
cmp eax, ebp
jne 0x45535f
lea eax, [esp + 0x7c]
call fcn.00402efc
lea eax, [esp + 0x80]
call fcn.00402efc
lea eax, [esp + 0x74]
call fcn.00402efc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
cmp dword [esp + 0x48], ebp
je 0x4552c6
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov esi, dword [esp + 0x3c]
cmp esi, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4552ed
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
xor esi, esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov edi, dword [esp + 0x28]
cmp edi, 0xffffffff
je 0x455310
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], edi
cmp dword [esp + 0x48], ebp
je 0x455327
lea esi, [esp + 0x28]
call fcn.0040d3c8
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
cmp esi, ebp
je 0x455336
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp edi, 0xffffffff
je 0x455342
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
add esp, 0x94
ret 0xc
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x78]
push ebp
push ecx
call fcn.00401721
mov edx, dword [0x4e6104]
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push edx
push eax
mov ebx, 1
call esi
add esp, 0x10
test eax, eax
jne 0x4553b9
lea eax, [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x84]
call fcn.00401721
mov ecx, dword [0x4e6108]
mov eax, dword [eax]
push ecx
push eax
mov ebx, 3
call esi
add esp, 0x10
test eax, eax
je 0x4553be
mov eax, 1
test bl, 2
mov edx, dword [esp + 0xa8]
mov dword [edx + 0x24], eax
je 0x4553d9
lea eax, [esp + 0x6c]
and ebx, 0xfffffffd
call fcn.00402efc
test bl, 1
je 0x4553e7
lea eax, [esp + 0x78]
call fcn.00402efc
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x10], eax
jae 0x455d3d
jmp 0x455400
mov ecx, dword [0x4e4150]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, edi
lea esi, [esp + 0x18]
call fcn.00454e90
add esp, 8
test eax, eax
je 0x455d2c
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], ebp
je 0x455d2c
lea eax, [esp + 0x70]
push eax
mov esi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], ebp
call fcn.00454db0
add esp, 4
test eax, eax
je 0x455d2c
mov ecx, dword [0x4e4150]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x70]
test bl, 1
mov dword [esp + 0x14], 0xfffffffe
je 0x455495
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
call fcn.00454db0
add esp, 4
test eax, eax
je 0x455d23
and ebx, 2
je 0x4554bd
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, edi
lea esi, [esp + 0x18]
call fcn.00454e90
add esp, 8
test eax, eax
je 0x455d23
test byte [esp + 0x70], 4
je 0x4554df
lea eax, [esp + 0x14]
push eax
mov esi, edi
lea ecx, [esp + 0x14]
call fcn.00454dd0
add esp, 4
test eax, eax
je 0x455d23
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push ebp
push ecx
call fcn.00401721
add esp, 8
mov byte [esp + 0xa0], 6
mov edx, dword [esp + 0x14]
movsx eax, word [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x74]
push ecx
push 0x4e58a4
lea ecx, [esp + 0x70]
call fcn.00452ed0
mov byte [esp + 0xa0], 7
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x455d1a
cmp bx, bp
je 0x45563e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x94]
push ebp
push edx
call fcn.00401721
mov esi, eax
mov ecx, dword [esi]
mov eax, dword [edi + 8]
add esp, 8
cmp eax, ecx
mov dword [esp + 0x14], ecx
je 0x455632
lea ebx, [eax - 0xc]
cmp dword [ebx], ebp
mov eax, dword [0x4e4154]
jge 0x45556c
cmp ebx, eax
jne 0x455579
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebp
jge 0x455601
cmp dword [ebx], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 8]
jg 0x45558a
cmp esi, dword [ebx + 8]
jle 0x4555e0
cmp ebx, eax
je 0x4555b0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4555a3
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [0x4e4150]
mov dword [edi + 8], eax
mov eax, dword [0x4e4154]
cmp esi, ebp
je 0x4555d6
lea eax, [esi + 0xd]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
cmp eax, ebp
je 0x455632
mov dword [eax], 1
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov byte [eax + esi + 0xc], 0
cmp eax, ebp
je 0x455632
add eax, 0xc
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 8]
push esi
push ecx
push edx
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 8]
mov dword [eax - 8], esi
mov ecx, dword [edi + 8]
add esp, 0xc
mov byte [esi + ecx], 0
jmp 0x455632
cmp ebx, eax
je 0x455623
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45561a
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [0x4e4150]
mov dword [edi + 8], edx
mov eax, dword [esi]
mov dword [edi + 8], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x94]
call fcn.00402efc
test byte [esp + 0x70], 8
mov ebx, dword [esp + 0x68]
je 0x45566f
lea eax, [esp + 0x14]
push eax
mov esi, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebp
call fcn.00454dd0
add esp, 4
test eax, eax
je 0x455927
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x24], ecx
test byte [esp + 0x70], 0x10
je 0x45573e
mov edx, dword [0x4e4150]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, ebx
lea esi, [esp + 0x18]
call fcn.00454e90
add esp, 8
test eax, eax
je 0x455a72
lea eax, [esp + 0x1c]
push ebp
push eax
mov eax, dword [esp + 0x2c]
call fcn.00401721
mov eax, dword [eax]
add esp, 8
push eax
push edi
call fcn.00452d36
lea eax, [esp + 0x1c]
call fcn.00402efc
lea ecx, [esp + 0x84]
push ecx
mov edx, ebx
mov dword [esp + 0x88], ebp
mov word [esp + 0x8c], bp
mov word [esp + 0x8e], bp
mov dword [esp + 0x90], ebp
call fcn.00454df0
add esp, 4
test eax, eax
je 0x455b82
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x8a]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov dword [edi + 0x20], eax
lea eax, [esp + 0x24]
mov dword [edi + 0x18], esi
mov word [edi + 0x1c], dx
mov word [edi + 0x1e], cx
mov byte [esp + 0xa0], 7
call fcn.00402efc
test byte [esp + 0x70], 0x20
je 0x455834
lea edx, [esp + 0x14]
push edx
mov esi, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebp
call fcn.00454db0
add esp, 4
test eax, eax
je 0x455c65
movsx eax, word [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x90], ebp
jle 0x45582c
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x455790
mov eax, dword [0x4e4150]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov edx, ebp
lea ebx, [esp + 0x14]
mov byte [esp + 0xa4], 0x23
call fcn.00454e20
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x2c]
push eax
mov edx, ebp
mov esi, ebx
call fcn.00454e90
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
add esp, 0xc
test eax, eax
je 0x455804
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 8]
test eax, eax
je 0x455804
mov esi, dword [esp + 0x90]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
call fcn.0040daaa
inc esi
mov dword [esp + 0x90], esi
lea eax, [esp + 0x24]
call fcn.00402efc
lea eax, [esp + 0x14]
mov byte [esp + 0xa0], 7
call fcn.00402efc
dec dword [esp + 0x78]
jne 0x455790
mov ebx, dword [esp + 0x68]
push edi
call fcn.00452d5e
xor ebp, ebp
test byte [esp + 0x70], 0x40
je 0x45586a
lea edx, [esp + 0x78]
push edx
mov esi, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], ebp
call fcn.00454dd0
add esp, 4
test eax, eax
je 0x455cf9
mov ebx, dword [esp + 0x78]
push ebp
call fcn.004890da
mov ebx, dword [esp + 0x68]
xor ebp, ebp
mov al, byte [esp + 0x70]
test al, al
jns 0x45589a
lea eax, [esp + 0x67]
push eax
mov esi, ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x6b], 0
call fcn.00454d90
add esp, 4
test eax, eax
je 0x455cf9
movzx eax, byte [esp + 0x67]
mov dword [edi + 0x2c], eax
cmp dword [0x4e60f0], ebp
je 0x4558c3
push 0x4cbe04
xor ecx, ecx
lea esi, [esp + 0x64]
call fcn.00408904
test eax, eax
jg 0x4558c3
mov eax, dword [esp + 0x60]
call fcn.00403d43
test eax, eax
je 0x4558d4
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x6c]
push ecx
call fcn.00451c77
push edi
mov byte [esp + 0xa4], 6
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x4558f5
call fcn.004040e4
push edi
call fcn.004befd4
add esp, 4
lea eax, [esp + 0x60]
call fcn.00402efc
lea eax, [esp + 0x20]
call fcn.00402efc
lea eax, [esp + 0x18]
mov byte [esp + 0xa0], 3
call fcn.00402efc
cmp dword [esp + 0x10], ebx
jb 0x455400
jmp 0x455d3d
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x455d1a
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa0], 0x11
mov eax, dword [edi + 0x4c]
cmp eax, ebp
je 0x45594f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [edi + 0x3c]
cmp eax, ebp
mov dword [esp + 0x6c], eax
je 0x4559d7
mov eax, dword [edi + 0x40]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x1c], eax
jbe 0x4559ca
jmp 0x455970
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455999
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455999
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x6c]
mov esi, dword [ecx + ebx*8]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x4559c1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4559c1
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x455970
mov edx, dword [edi + 0x3c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [edi + 0x34]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x4559ff
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x455a05
push esi
call ebx
add esp, 4
jmp 0x455a05
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov esi, dword [edi + 0x10]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455a25
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455a25
push esi
call ebx
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455a45
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455a45
push esi
call ebx
add esp, 4
mov esi, dword [edi + 8]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455d11
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455d11
push esi
call ebx
add esp, 4
jmp 0x455d11
lea eax, [esp + 0x24]
call fcn.00402efc
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x455d1a
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa0], 0x17
mov eax, dword [edi + 0x4c]
cmp eax, ebp
je 0x455aa3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [edi + 0x3c]
test ebp, ebp
je 0x455c30
mov eax, dword [edi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x455c23
nop
mov esi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455ae5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455ae5
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455b0a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455b0a
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x455ac0
jmp 0x455c23
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov esi, dword [edi + 0x10]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455b3a
push esi
call ebp
test eax, eax
jg 0x455b3a
push esi
call ebx
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455b56
push esi
call ebp
test eax, eax
jg 0x455b56
push esi
call ebx
add esp, 4
mov esi, dword [edi + 8]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455b72
push esi
call ebp
test eax, eax
jg 0x455b72
push esi
call ebx
add esp, 4
push edi
call fcn.004befd4
add esp, 4
xor ebp, ebp
jmp 0x455d1a
lea eax, [esp + 0x24]
call fcn.00402efc
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x455d1a
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa0], 0x1c
mov eax, dword [edi + 0x4c]
cmp eax, ebp
je 0x455bb3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [edi + 0x3c]
test ebp, ebp
je 0x455c30
mov eax, dword [edi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x455c23
jmp 0x455bd0
mov esi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455bf5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455bf5
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455c1a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455c1a
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x455bd0
mov edx, dword [edi + 0x3c]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [edi + 0x34]
mov eax, dword [0x4e4154]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
sub esi, 0xc
cmp esi, eax
je 0x455b18
push esi
call ebp
test eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_free]
jg 0x455b1e
push esi
call ebx
add esp, 4
jmp 0x455b1e
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x455d1a
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa0], 0x21
mov eax, dword [edi + 0x4c]
cmp eax, ebp
je 0x455c8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [edi + 0x3c]
test ebp, ebp
je 0x455c30
mov eax, dword [edi + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x455c23
mov esi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455cc6
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455cc6
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [ebp + ebx*8]
mov eax, dword [0x4e4154]
sub esi, 0xc
cmp esi, eax
je 0x455ceb
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x455ceb
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x455ca1
jmp 0x455c23
push edi
mov byte [esp + 0xa4], 6
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x455d1a
call fcn.004040e4
push edi
call fcn.004befd4
add esp, 4
lea eax, [esp + 0x60]
call fcn.00402efc
lea eax, [esp + 0x20]
call fcn.00402efc
lea eax, [esp + 0x18]
mov byte [esp + 0xa0], 3
call fcn.00402efc
mov ecx, dword [0x4e6168]
mov esi, dword [esp + 0xa8]
xor eax, eax
cmp ecx, ebp
sete al
push eax
push esi
call fcn.004539f8
call fcn.00451cbf
mov esi, dword [esi + 4]
lea eax, [esp + 0x7c]
call fcn.00402efc
lea eax, [esp + 0x80]
call fcn.00402efc
lea eax, [esp + 0x74]
call fcn.00402efc
lea eax, [esp + 0x28]
call fcn.0040d44f
xor ecx, ecx
cmp ecx, esi
sbb eax, eax
neg eax
jmp 0x455344
mov ecx, dword [esp + 0x8c]
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x94
ret 0xc