Function at 0x45d000
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb1bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
call fcn.00401bb0
mov ecx, eax
test ecx, ecx
je 0x45da80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x80]
test eax, eax
je 0x45d07b
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [ebp - 0x38], 0
push 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
push dword [ebp + 8]
call fcn.004baa70
mov dword [ebp - 0x6c], 0
xor edi, edi
mov dword [ebp - 0x70], edi
push str.__tsas_item
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x38]
call fcn.004bb2b0
push str.type
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004b8fd0
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x45d0ef
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x45d100
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 9
xor esi, esi
mov ecx, dword [ebp - 0x38]
mov edx, 2
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x45d15f
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
push ecx
mov dword [ebp - 0x44], esi
call dword [eax + 0xb4]
test eax, eax
jns 0x45d147
push 0x50f9e8
push dword [ebp + 8]
push eax
call fcn.004e2c00
mov eax, dword [ebp - 0x44]
mov edx, 0xe
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edx
test eax, eax
je 0x45d162
mov byte [ebp + 0xb], 1
jmp 0x45d166
mov eax, dword [ebp + 8]
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 9
test dl, 4
je 0x45d18d
and edx, 0xfffffffb
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 0xd
test eax, eax
je 0x45d189
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
cmp byte [ebp + 0xb], 0
je 0x45d2f8
push 0
push 0
push 0xffffffffffffffff
push str.__tsas_item_tsa
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea ecx, [esi - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp + 8], eax
test eax, eax
je 0x45d1eb
push esi
push eax
push 0xffffffffffffffff
push str.__tsas_item_tsa
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x45d1e8
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x45d1eb
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00480940
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x45da8a
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
push esi
mov dword [ebp - 0x40], 0
call dword [eax + 0xb4]
test eax, eax
jns 0x45d227
push 0x50f9e8
push esi
push eax
call fcn.004e2c00
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x40]
or eax, 0x10
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
test esi, esi
je 0x45da8a
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x45d25e
mov ecx, dword [eax]
jmp 0x45d260
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x3c]
push edx
push ecx
push esi
call dword [eax + 0x90]
test eax, eax
jns 0x45d27e
push 0x50f9f8
push esi
push eax
call fcn.004e2c00
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
or eax, 0x20
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
call fcn.00434ed0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x45d2a9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
je 0x45d2de
mov eax, dword [ebp - 0x38]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x45d2c3
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push ecx
mov eax, esp
mov dword [eax], esi
mov byte [ebp - 4], 0x18
test esi, esi
je 0x45d2d6
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.004b8e50
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x19
test esi, esi
je 0x45d2f5
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x45d30b
mov byte [ebp - 4], 0x1a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edi, esi
mov dword [ebp - 0x70], edi
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x45d322
mov byte [ebp - 4], 0x1c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x6c], ecx
and dword [ebp - 0x20], 0xfffffffd
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x45d334
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x1f
test esi, esi
je 0x45d342
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x20
call dword [sym.imp.mfc140.dll_Ordinal_1001]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 0x23
mov ecx, dword [0x53d5f0]
test ecx, ecx
je 0x45d3ce
mov eax, dword [ecx + 8]
mov edx, ecx
mov esi, dword [eax]
mov eax, dword [edx + 8]
mov edx, dword [edx]
cmp dword [eax], esi
je 0x45d3d0
test edx, edx
jne 0x45d3c1
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edx, esi
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp esi, 1
jge 0x45d3ec
test ecx, ecx
je 0x45d400
mov eax, dword [ecx + 8]
mov edx, dword [eax]
add edx, esi
jmp 0x45d3f0
test ecx, ecx
je 0x45d400
mov eax, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x3c], eax
cmp dword [eax], edx
je 0x45d407
test ecx, ecx
jne 0x45d3f0
mov dword [ebp - 0x3c], 0
push esi
push dword [0x53d638]
lea eax, [ebp - 0x24]
push str._sMappingTSAPostcodes_d.dat
push eax
call fcn.004063e0
mov esi, dword [ebp - 0x24]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x45d682
call fcn.00464790
test eax, eax
jns 0x45d495
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push dword [0x53d638]
push str._sMappingTSAPostcodes_d.dat
push eax
call fcn.004063e0
mov esi, dword [ebp - 0x24]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x45d682
call fcn.00464790
test eax, eax
js 0x45d4f7
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
jne 0x45d4b8
call fcn.00464790
mov ecx, dword [ebp - 0x1c]
test eax, eax
js 0x45d4be
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push ecx
mov dword [eax + 0x6c], ecx
call dword [sym.imp.mfc140.dll_Ordinal_265]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + 8]
add esp, 4
mov dword [ebp + 8], 0
mov dword [ecx + 0x68], eax
push 0
push edx
push dword [ecx + 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45d4f7
call fcn.00464790
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45d9bb
cmp dword [ebp - 0x3c], 0
je 0x45d99e
xor edx, edx
sub ecx, 0xffffff80
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp + 0xc], edx
test edi, edi
je 0x45d546
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x20]
test eax, eax
jns 0x45d540
push 0x50f9d8
push edi
push eax
call fcn.004e2c00
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp edx, eax
jge 0x45d99b
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x45d569
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x58], 0
push edx
lea eax, [ebp - 0x94]
xor edi, edi
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
call fcn.004ba8e0
mov byte [ebp - 4], 0x24
xor ecx, ecx
mov eax, dword [eax]
mov dword [ebp + 8], eax
test eax, eax
je 0x45d5fc
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0xb8]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
jns 0x45d5bf
push 0x50f9f8
push dword [ebp + 8]
push eax
call fcn.004e2c00
movups xmm0, xmmword [ebp - 0xb8]
or dword [ebp - 0x20], 1
xor eax, eax
mov word [ebp - 0xb8], ax
movups xmmword [ebp - 0xc8], xmm0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x25
call fcn.004bc1d0
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.004d6b20
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x90]
test edx, edx
je 0x45d61c
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x45d630
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x23
cmp dword [ebp + 8], 0
je 0x45d863
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45d654
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 4
push 1
test eax, eax
jne 0x45d68a
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ecx, eax
add esp, 8
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x45da94
jmp 0x45d6b8
mov dword [ebp - 0x78], eax
jmp 0x45d497
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x45da94
xor ecx, ecx
call fcn.00407b80
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x64], 1
test eax, eax
je 0x45d6e9
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x88]
push 0
push eax
push 0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x84], 0
push eax
mov dword [ebp - 0x80], 0
call fcn.004d5f00
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x45d863
cmp eax, ecx
jae 0x45da9e
mov ecx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x14]
movzx ecx, word [ecx + eax*4]
xor eax, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
cmp dword [edi], eax
jbe 0x45d84b
mov edx, dword [ebp - 0x14]
add edi, 4
mov dword [ebp - 0x28], edi
nop dword [eax + eax]
cmp word [edi], cx
jne 0x45d839
xor edx, edx
mov dword [ebp + 8], edx
jmp 0x45d773
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 0x2c]
jge 0x45d830
lea eax, [edi + 2]
mov dword [ebp - 0x48], eax
nop dword [eax + eax]
push 4
lea edi, [ecx + edx]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [edi + 0x1f]
lea edx, [edx + ecx*4]
add edx, 0x23
mov dword [ebp + 8], edx
test eax, eax
je 0x45d7c3
mov eax, dword [ebp - 0x10]
cmp edx, dword [eax + 0x2c]
jge 0x45d82d
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x18]
jmp 0x45d790
mov dword [ebp + 8], edx
test edi, edi
je 0x45d82d
mov ecx, dword [ebp - 0x54]
xor eax, eax
test ecx, ecx
je 0x45d7ee
mov dword [ebp + 8], edx
cmp eax, ecx
jae 0x45da9e
mov esi, dword [ebp - 0x58]
cmp dword [esi + eax*4], edi
mov esi, dword [ebp - 0x24]
je 0x45d7ee
inc eax
cmp eax, ecx
jb 0x45d7de
cmp eax, ecx
jne 0x45d770
mov eax, ecx
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x50]
jb 0x45d81b
inc eax
lea ecx, [ebp - 0x58]
push eax
call fcn.00434db0
test al, al
je 0x45da94
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x54], ecx
mov dword [esi + eax*4], edi
mov esi, dword [ebp - 0x24]
jmp 0x45d770
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
inc eax
add edi, 0xd
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], edi
cmp eax, dword [edx]
jb 0x45d760
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, ecx
jb 0x45d732
mov edi, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x28], eax
test edi, edi
je 0x45d989
mov edx, dword [ebp - 0x58]
mov dword [ebp + 8], edx
nop word [eax + eax]
mov esi, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [esi + 0x84], ecx
jbe 0x45d8f2
nop dword [eax]
mov edx, dword [ebp - 0x30]
cmp ecx, dword [edx + 4]
jae 0x45da9e
cmp eax, edi
jae 0x45da9e
mov eax, dword [edx]
lea edx, [eax + ecx*8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [edx]
je 0x45d8c2
mov eax, esi
inc ecx
cmp ecx, dword [eax + 0x84]
mov eax, dword [ebp - 0x28]
jb 0x45d890
jmp 0x45d8ec
mov eax, dword [edx + 4]
mov esi, dword [ebp + 0xc]
bts eax, esi
mov dword [edx + 4], eax
test ecx, ecx
js 0x45d995
cmp ecx, dword [ebp - 0xa0]
jge 0x45d995
mov eax, dword [ebp - 0xa4]
inc word [eax + ecx*2]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
cmp ecx, dword [esi + 0x84]
mov esi, dword [ebp - 0x24]
jne 0x45d977
mov ecx, dword [ebp + 0xc]
mov edx, 1
shl edx, cl
mov dword [ebp - 0x48], edx
cmp eax, edi
jae 0x45da9e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 8]
jb 0x45d948
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x30]
push eax
call fcn.00464310
test al, al
je 0x45da94
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov esi, dword [ebp - 0x34]
push 1
mov dword [eax + ecx*8], esi
mov dword [eax + ecx*8 + 4], edx
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0xa0]
inc dword [ecx + 4]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc140.dll_Ordinal_13201]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
inc eax
add edx, 4
mov dword [ebp - 0x28], eax
mov dword [ebp + 8], edx
cmp eax, edi
jb 0x45d880
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x70]
inc edx
jmp 0x45d51a
call dword [sym.imp.mfc140.dll_Ordinal_2381]
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x68]
call dword [sym.imp.mfc140.dll_Ordinal_266]
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0
mov eax, dword [ebp - 0x88]
mov byte [ecx + 0x79], 1
test eax, eax
je 0x45d9d3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45d9e4
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc140.dll_Ordinal_1473]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x45da01
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x45da12
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x29
test edi, edi
je 0x45da20
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45da36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x45da44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45da60
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x45da6e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00401f30
push 0x80004003
call fcn.004e2be0
push 0x8007000e
call fcn.00401f30
push 0x80070057
call fcn.00401f30
int3