Function at 0x4a0220
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x368
mov word [ebp - 0x33a], ax
mov eax, dword [0x79e7cc]
test eax, eax
je 0x4a11d9
lea ebx, [ebp - 0x214]
mov dword [esp], 0x104
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea eax, [ebp - 0x110]
sub esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5d3758
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov eax, 0x1098
sub esp, 0x10
call fcn.0049f440
lea eax, [ebp - 0x110]
mov dword [esp], str.creating__s_n
mov dword [esp + 4], eax
call fcn.0049f7c0
lea eax, [ebp - 0x110]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x4a11f7
lea eax, [ebp - 0x334]
mov ebx, dword fs:[0x18]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0x79e760
mov dword [ebp - 0x340], eax
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10a2
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x304]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
xor eax, eax
mov ecx, 0x3c
mov edx, 4
rep stosd dword es:[edi], eax
mov eax, 0x10b
mov ecx, 1
mov edi, 4
mov word [ebp - 0x2c8], cx
lea ecx, [ebp - 0x334]
mov word [ebp - 0x2f4], ax
lea eax, [ebp - 0x30c]
mov word [ebp - 0x2cc], dx
mov word [ebp - 0x2c4], di
mov dword [ebp - 0x2d8], 0x10000000
mov dword [ebp - 0x2b0], 0x1400003
mov dword [ebp - 0x2ac], 0x100000
mov dword [ebp - 0x2a8], 0x1000
mov dword [ebp - 0x2a4], 0x100000
mov dword [ebp - 0x2a0], 0x1000
mov dword [ebp - 0x298], 0x10
mov dword [ebp - 0x2d4], 0x1000
mov dword [ebp - 0x2d0], 0x1000
mov dword [ebp - 0x2bc], 0x2360
mov dword [ebp - 0x2b8], 0x188
mov dword [ebp - 0x22c], 0x1000
mov dword [ebp - 0x228], 0x40
mov dword [ebp - 0x30c], 0x4550
mov dword [ebp - 0x2f8], 0x200200e0
mov byte [ebp - 0x2f2], 1
mov dword [ebp - 0x2e0], 0x10
mov dword [ebp - 0x308], 0x2014c
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x18
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10b2
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
lea ecx, [ebp - 0x334]
lea eax, [ebp - 0x2f4]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xe0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10b6
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x334]
mov dword [0x57f2c8], 0x1000
mov dword [0x57f2d0], 0x40
mov dword [0x57f2d4], eax
mov dword [0x57f2cc], eax
mov dword [0x57f2e4], 0x40000040
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0x57f2c0
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10c0
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov eax, 0x10c7
mov dword [0x57f2d4], 0x2000
mov dword [0x57f2cc], 0x2000
mov dword [0x57f2d0], 0x4e
call fcn.0049f440
mov dword [esp + 4], str.Too_much_tests__add_a_new_section__n
xor eax, eax
cmp dword [0x57f2d0], 0x1000
setbe al
mov dword [esp], eax
call fcn.0049fda0
lea ecx, [ebp - 0x334]
mov dword [0x57f2c8], 0x1000
mov dword [0x57f2e4], 0xc0000040
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ecx
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0x57f2c0
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10cc
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x334]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov ecx, dword [sym.imp.kernel32.dll_SetFilePointer]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x22c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [ebp - 0x34c], ecx
call ecx
lea eax, [ebp - 0x32c]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [ebp - 0x32c], 1
sub esp, 0x10
mov dword [ebp - 0x328], 0x2000
mov dword [ebp - 0x324], 0x201a
mov dword [ebp - 0x320], 0x201e
mov dword [ebp - 0x31c], 0x2036
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10dd
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x334]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0x5d7340
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10e1
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x334]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x328]
mov dword [esp], esi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x34c]
call ecx
mov dword [ebx + 0x34], 0xdeadbeef
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], str.secur32.dll
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10e9
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x334]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
lea eax, [ebp - 0x33a]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10ed
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x334]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], str.SealMessage
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x10f1
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x338]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x320]
mov dword [esp], esi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x34c]
call ecx
xor edx, edx
mov dword [ebp - 0x348], esi
sub esp, 0x10
mov esi, edx
nop
mov eax, dword [ebp - 0x2d8]
mov dword [ebx + 0x34], 0xdeadbeef
lea eax, [esi + eax + 0x1a00]
add esi, 0x20
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x334]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x348]
mov dword [esp], eax
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov dword [ebp - 0x344], eax
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x10fb
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call fcn.0049fda0
cmp esi, 0xa0
jne 0x4a08e0
mov esi, dword [ebp - 0x348]
lea eax, [ebp - 0x334]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [ebp - 0x338], 0
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov dword [ebp - 0x344], eax
mov eax, 0x1101
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov ebx, dword fs:[0x18]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x344]
mov dword [esp], edx
call fcn.0049fda0
xor edx, edx
mov dword [ebp - 0x348], esi
mov esi, edx
jmp 0x4a0a85
mov eax, dword [ebp - 0x328]
add eax, 0xc
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x334]
mov dword [ebx + 0x34], 0xdeadbeef
add esi, 0xc
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x348]
mov dword [esp], eax
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov dword [ebp - 0x344], eax
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x110b
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call fcn.0049fda0
cmp esi, 0x3c
je 0x4a0aa8
mov eax, dword [esi + 0x5d72c0]
test eax, eax
jne 0x4a0a00
mov eax, dword [esi + 0x5d72c4]
mov dword [ebp - 0x338], eax
jmp 0x4a0a0f
mov esi, dword [ebp - 0x348]
lea eax, [ebp - 0x334]
mov dword [ebp - 0x338], 0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x340]
call eax
sub esp, 0x14
mov edi, eax
mov eax, 0x1111
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.WriteFile_error__ld_n
mov dword [esp + 8], eax
call fcn.0049fda0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [0x57f2c8]
add eax, dword [0x57f2cc]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34c]
call eax
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_SetEndOfFile]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x110]
mov dword [ebx + 0x34], 0xdeadbeef
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
mov esi, eax
mov dword [ebp - 0x340], eax
mov eax, 0x111a
call fcn.0049f440
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.LoadLibrary_error__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.0049fda0
test esi, esi
je 0x4a1227
lea eax, [ebp - 0x330]
mov dword [esp + 8], 0xd
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x340]
mov dword [esp], eax
call dword [0x79e7c8]
sub esp, 0x10
mov ecx, eax
test eax, eax
je 0x4a125e
mov eax, dword [eax + 4]
test eax, eax
je 0x4a10d2
mov dword [ebp - 0x358], edi
lea esi, [esi]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x34c], esi
test esi, esi
je 0x4a10d2
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x344], ecx
mov dword [ebp - 0x350], edi
test edi, edi
je 0x4a10d2
mov edi, dword [ebp - 0x340]
xor ebx, ebx
add eax, edi
add esi, edi
mov dword [esp], eax
mov eax, dword [ebp - 0x358]
call eax
mov dword [ebp - 0x354], eax
sub esp, 4
jmp 0x4a0ec3
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x114c
xor eax, eax
test edi, edi
setne al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_ResolveDelayLoadedAPI_failed_n
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x114d
xor eax, eax
mov dword [esp + 0x10], edi
mov edx, dword [ebp - 0x348]
mov dword [esp + 8], ebx
cmp edx, edi
mov dword [esp + 0xc], edx
sete al
mov dword [esp + 4], str.Test__lu:_expected__p__got__p_n
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x114e
mov eax, dword [esi]
mov dword [esp + 0xc], edi
cmp eax, edi
mov dword [esp + 0x10], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Test__lu:_expected__p__got__p_n
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
movzx edx, word [0x79ea4e]
mov dword [eax], 0x5d3477
test dx, dx
mov dword [eax + 4], 0x1150
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_Wrong_callback_count:__d_n
call fcn.0049fda0
call fcn.0057d110
movzx edx, word [0x79ea4c]
mov dword [eax], 0x5d3477
test dx, dx
mov dword [eax + 4], 0x1151
sete al
mov dword [esp + 0xc], edx
xor edi, edi
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_Wrong_sys_callback_count:__d_n
call fcn.0049fda0
xor ecx, ecx
mov word [0x79ea4e], di
mov word [0x79ea4c], cx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x4a12a0
mov dword [esp + 8], 0x4a5770
mov eax, dword [ebp - 0x344]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x340]
mov dword [esp], ecx
call dword [0x79e7cc]
sub esp, 0x18
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x115f
xor eax, eax
test edi, edi
setne al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_ResolveDelayLoadedAPI_failed_n
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1160
xor eax, eax
mov dword [esp + 0x10], edi
mov edx, dword [ebp - 0x348]
mov dword [esp + 8], ebx
cmp edi, edx
mov dword [esp + 0xc], edx
sete al
mov dword [esp + 4], str.Test__lu:_expected__p__got__p_n
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1161
mov eax, dword [esi]
mov dword [esp + 0xc], edi
cmp edi, eax
mov dword [esp + 0x10], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Test__lu:_expected__p__got__p_n
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
movzx edx, word [0x79ea4e]
mov dword [eax], 0x5d3477
test dx, dx
mov dword [eax + 4], 0x1163
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_Wrong_callback_count:__d_n
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1164
movzx edx, word [0x79ea4c]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Test__lu:_Wrong_sys_callback_count:__d_n
test dx, dx
mov dword [esp + 0xc], edx
sete al
add ebx, 1
add esi, 4
movzx eax, al
mov dword [esp], eax
call fcn.0049fda0
cmp ebx, 5
je 0x4a10be
mov ecx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x340]
sub eax, dword [ebp - 0x2d8]
add dword [esi], eax
mov eax, esi
sub eax, ecx
mov ecx, dword [ebp - 0x350]
mov edx, dword [eax + ecx]
test edx, edx
js 0x4a1120
mov eax, dword [ebp - 0x340]
xor ecx, ecx
add eax, edx
test edx, edx
cmove eax, ecx
add eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x354]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x348], eax
xor eax, eax
sub esp, 8
mov word [0x79ea4c], ax
xor eax, eax
mov word [0x79ea4e], ax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x4a12a0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x344]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x340]
mov dword [esp], ecx
call dword [0x79e7cc]
mov edi, eax
lea eax, [ebx + ebx*2]
sub esp, 0x18
mov eax, dword [eax*4 + 0x5d72c8]
test eax, eax
jne 0x4a0c40
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1155
xor eax, eax
cmp edi, 0x12345678
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Test__lu:_ResolveDelayLoadedAPI_succeeded_with__p_n
call fcn.0049fda0
call fcn.0057d110
movzx edx, word [0x79ea4e]
mov dword [eax], 0x5d3477
test dx, dx
mov dword [eax + 4], 0x1156
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_Wrong_callback_count:__d_n
call fcn.0049fda0
call fcn.0057d110
movzx edx, word [0x79ea4c]
mov dword [eax], 0x5d3477
cmp dx, 1
mov dword [eax + 4], 0x1157
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_Wrong_sys_callback_count:__d_n
call fcn.0049fda0
xor eax, eax
xor edx, edx
mov word [0x79ea4c], ax
mov word [0x79ea4e], dx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x4a12a0
mov dword [esp + 8], 0x4a5770
mov eax, dword [ebp - 0x344]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x340]
mov dword [esp], eax
call dword [0x79e7cc]
sub esp, 0x18
mov edi, eax
cmp eax, 0x12345678
je 0x4a1188
cmp eax, 0xdeadbeef
je 0x4a1130
call fcn.0057d110
add esi, 4
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1174
mov dword [esp + 8], ebx
add ebx, 1
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.Test__lu:_ResolveDelayLoadedAPI_succeeded_with__p_n
mov dword [esp], 0
call fcn.0049fda0
cmp ebx, 5
jne 0x4a0ec3
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx + 0x24]
add ecx, 0x20
test eax, eax
jne 0x4a0bf0
mov eax, dword [ebp - 0x340]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, 0x117b
sub esp, 4
call fcn.0049f440
lea eax, [ebp - 0x110]
mov dword [esp], str.deleting__s_n
mov dword [esp + 4], eax
call fcn.0049f7c0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, dx
mov dword [esp + 4], edx
jmp 0x4a0f02
call fcn.0057d110
mov dword [eax], 0x5d3477
movzx edx, word [0x79ea4e]
mov dword [eax + 4], 0x1170
cmp dx, 1
mov dword [esp + 0xc], edx
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], str.Test__lu:_Wrong_callback_count:__d_n
mov dword [esp], eax
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x1171
jmp 0x4a0e8c
call fcn.0057d110
movzx edx, word [0x79ea4e]
mov dword [eax], 0x5d3477
test dx, dx
mov dword [eax + 4], 0x116b
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Test__lu:_Wrong_callback_count:__d_n
call fcn.0049fda0
call fcn.0057d110
mov dword [eax], 0x5d3477
mov dword [eax + 4], 0x116c
jmp 0x4a0e8c
mov eax, 0x1083
call fcn.0049f440
mov dword [esp], str.ResolveDelayLoadedAPI_is_not_available_n
call fcn.0049fd70
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x109c
call fcn.0049f440
lea eax, [ebp - 0x110]
mov dword [esp + 4], 0x5d3769
mov dword [esp + 8], eax
mov dword [esp], 0
call fcn.0049fda0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x111d
call fcn.0049f440
lea eax, [ebp - 0x110]
mov dword [esp], str.couldnt_load__s._n
mov dword [esp + 4], eax
call fcn.0049f7b0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
jmp 0x4a1116
mov eax, 0x1125
call fcn.0049f440
mov dword [esp], str.havent_found_section_for_delay_import_directory._n
call fcn.0049f7b0
mov eax, dword [ebp - 0x340]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x110]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
jmp 0x4a1116