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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov eax, dword [esi]
sub eax, ebx
je 0x402a39
sub eax, 1
lea edi, [esi + 0xb4]
push edi
push dword [esi + 8]
je 0x4028e4
sub eax, 1
je 0x40287a
sub eax, 1
je 0x402829
call fcn.00405e37
pop ecx
pop ecx
mov dword [esi + 0x80], eax
mov dword [esi + 0x78], eax
cmp dword [edi], ebx
je 0x4026d7
cmp dword [esi + 0x6c], ebx
je 0x40283e
push dword [esi + 0x6c]
call fcn.004760d1
pop ecx
mov dword [esi + 0x6c], ebx
jmp 0x40283e
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x78], ebx
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x10], ebx
je 0x4026fd
push dword [eax + 0x10]
call fcn.004760d1
mov eax, dword [esi + 0x10]
pop ecx
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ebx
mov eax, dword [esi + 0x10]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x84]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x10]
push ecx
push 0x40146d
push str.closed
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov dword [esi + 0x88], eax
call fcn.004763f0
add esp, 0x14
cmp dword [esi + 0x10], ebx
je 0x402742
push dword [esi + 0x10]
call fcn.00475e17
pop ecx
mov ecx, eax
jmp 0x402744
mov ecx, ebx
mov eax, dword [esi + 0x10]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x8c], ecx
push edi
mov eax, dword [eax + 0xc]
push str._re_frida_Helper
mov eax, dword [eax + 0x10]
push eax
push ecx
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
call fcn.004b3ac1
mov ecx, eax
add esp, 0x10
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x94], ecx
cmp dword [edi], ebx
je 0x4027b8
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x40279e
push eax
call fcn.004760d1
pop ecx
mov dword [esi + 0x8c], ebx
cmp dword [esi + 0x78], ebx
je 0x4026bd
push dword [esi + 0x78]
call fcn.004760d1
pop ecx
mov dword [esi + 0x78], ebx
jmp 0x4026bd
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov dword [esi + 0xa4], eax
call fcn.00406575
mov eax, dword [esi + 0x8c]
pop ecx
test eax, eax
je 0x4027ee
push eax
call fcn.004760d1
pop ecx
mov dword [esi + 0x8c], ebx
cmp dword [esi + 0x78], ebx
je 0x4027ff
push dword [esi + 0x78]
call fcn.004760d1
pop ecx
mov dword [esi + 0x78], ebx
cmp dword [esi + 0x6c], ebx
je 0x402810
push dword [esi + 0x6c]
call fcn.004760d1
pop ecx
mov dword [esi + 0x6c], ebx
cmp dword [esi + 0x60], ebx
je 0x402948
push dword [esi + 0x60]
call fcn.004760d1
mov dword [esi + 0x60], ebx
jmp 0x402947
push dword [esi + 0x70]
call fcn.004b1130
add esp, 0xc
mov dword [esi + 0x74], eax
mov dword [esi + 0x6c], eax
cmp dword [edi], ebx
je 0x402858
cmp dword [esi + 0x60], ebx
je 0x4028f3
push dword [esi + 0x60]
call fcn.004760d1
pop ecx
mov dword [esi + 0x60], ebx
jmp 0x4028f3
push esi
push 0x402b69
push ebx
push ebx
push 0x10
push ebx
push eax
mov dword [esi + 0x7c], eax
mov dword [esi], 4
call fcn.00405df2
add esp, 0x1c
jmp 0x402b38
call fcn.00409446
pop ecx
pop ecx
cmp dword [edi], ebx
jne 0x4028f3
mov ecx, dword [esi + 0x10]
push ebx
push ecx
push 0x401482
mov eax, dword [ecx + 0xc]
push str.uninjected
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x54], eax
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
call fcn.004763f0
add esp, 0x14
mov eax, dword [esi + 0x10]
push ebx
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push eax
mov dword [esi + 0x64], eax
call fcn.004b1eb3
push esi
push 0x402b69
push ebx
push eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], eax
mov dword [esi], 3
call fcn.004b1101
jmp 0x402b35
call fcn.00409446
pop ecx
pop ecx
cmp dword [edi], ebx
je 0x4029d6
mov eax, dword [edi]
mov dword [esi + 0xa8], eax
mov dword [edi], ebx
mov dword [esi + 0xac], eax
mov eax, dword [eax + 8]
push eax
push str.Unable_to_start:__s_n
mov dword [esi + 0xb0], eax
call fcn.00445886
mov eax, dword [esi + 0x10]
push ebx
push ebx
mov eax, dword [eax + 0xc]
mov dword [eax + 0xc], 1
push dword [esi + 0x10]
call fcn.00402435
mov eax, dword [esi + 0xa8]
add esp, 0x14
test eax, eax
je 0x402948
push eax
call fcn.004416ba
mov dword [esi + 0xa8], ebx
pop ecx
mov eax, dword [edi]
test eax, eax
je 0x40298c
push dword [eax + 4]
push dword [eax]
call fcn.004413f1
pop ecx
push eax
mov eax, dword [edi]
push dword [eax + 8]
push 0x4ed
push str.D:_a_frida_frida_build_tmp_windowsWin32_Release_frida_helper_32_frida_helper_service.c
push str.file__s:_line__d:_uncaught_error:__s___s___d_
push 8
push ebx
call fcn.0044512e
push edi
call fcn.0044162e
push dword [esi + 0xc]
call fcn.004760d1
add esp, 0x28
jmp 0x402b38
push ebx
push esi
push dword [esi + 0xc]
call fcn.004096ae
add esp, 0xc
cmp dword [esi], ebx
je 0x4029c8
push dword [esi + 0xc]
call fcn.00409232
pop ecx
jmp 0x4029c4
push 1
push dword [esi + 0xc]
call fcn.0040923d
pop ecx
push eax
call fcn.004427a9
push dword [esi + 0xc]
call fcn.00409232
add esp, 0xc
test eax, eax
je 0x4029a8
push dword [esi + 0xc]
call fcn.004760d1
pop ecx
jmp 0x402b38
mov ecx, dword [esi + 0x10]
push ebx
push ecx
push 0x401482
mov eax, dword [ecx + 0xc]
push str.uninjected
mov eax, dword [eax + 0x18]
mov dword [esi + 0x40], eax
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
call fcn.004763f0
mov ecx, dword [esi + 0x10]
add esp, 0x14
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x4c], eax
test eax, eax
je 0x4028b1
mov eax, dword [ecx + 0xc]
push esi
push 0x402b69
mov eax, dword [eax + 0x1c]
push eax
mov dword [esi + 0x50], eax
mov dword [esi], 2
call fcn.00401fd4
add esp, 0xc
jmp 0x402b38
push 0x4fe6f0
call fcn.00403da7
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
call fcn.00401f76
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
pop ecx
pop ecx
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x18], ebx
je 0x402a71
push dword [eax + 0x18]
call fcn.004023c2
mov eax, dword [esi + 0x10]
pop ecx
mov eax, dword [eax + 0xc]
mov dword [eax + 0x18], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x18], eax
push dword [esi + 0x18]
call fcn.00441dce
pop ecx
mov dword [esi + 0x18], ebx
call fcn.004b5ba0
test eax, eax
je 0x402ae2
push 0x4fe6f4
call fcn.00403da7
push eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
call fcn.00401f76
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x10]
pop ecx
pop ecx
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x1c], ebx
je 0x402aca
push dword [eax + 0x1c]
call fcn.004023c2
mov eax, dword [esi + 0x10]
pop ecx
mov eax, dword [eax + 0xc]
mov dword [eax + 0x1c], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x1c], eax
push dword [esi + 0x24]
call fcn.00441dce
pop ecx
mov dword [esi + 0x24], ebx
call fcn.00403c51
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov dword [esi + 0x34], ecx
call fcn.00403b51
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x38], eax
mov ecx, dword [ecx + 0xc]
mov dword [ecx + 0x20], eax
push dword [esi + 0x30]
call fcn.00441dce
mov eax, dword [esi + 0x10]
mov dword [esi + 0x30], ebx
push esi
push 0x402b69
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
push eax
mov dword [esi + 0x3c], eax
mov dword [esi], 1
call fcn.00401fd4
add esp, 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret