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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
cmp esi, dword [eax]
jb 0x409219
mov ecx, esi
sub ecx, dword [eax + 4]
cmp ecx, dword [eax + 0x10]
je 0x409abc
push dword [eax + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.004a3dd0
cmp byte [esp + 0x1c], 0
mov esi, dword [esp + 0x18]
jne 0x409aec
movzx ebx, byte [esi]
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
cmp ebx, 0x80
jae 0x40922f
mov esi, eax
jmp 0x409260
movzx ecx, byte [eax]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x409249
add esi, 2
jmp 0x409260
push ebx
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004a45e0
mov ebx, dword [esp + 0x30]
add esp, 0xc
mov esi, dword [esp + 0x20]
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 0x1b
ja case.0x40926f.9
jmp dword [eax*4 + 0x409af8]
cmp bl, 8
jne case.0x40926f.9
movzx edx, byte [esi]
test dl, dl
js 0x409289
inc esi
jmp 0x4092b7
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x4092a0
add esi, 2
jmp 0x4092b7
push edx
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.004a46b0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov esi, dword [esp + 0x28]
mov dword [edi + 0x74], edx
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0x10
jne case.0x40926f.9
movzx edx, byte [esi]
test dl, dl
js 0x4092e6
inc esi
mov dword [edi + 0x78], edx
test esi, esi
jmp 0x409a6a
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x409305
add esi, 2
mov dword [edi + 0x78], edx
test esi, esi
jmp 0x409a6a
push edx
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004a46b0
mov edx, dword [esp + 0x40]
add esp, 0xc
mov esi, dword [esp + 0x30]
test esi, esi
mov dword [edi + 0x78], edx
jmp 0x409a6a
cmp bl, 0x1a
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x28]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409340
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.command_line
jmp 0x409a42
cmp bl, 0x20
jne case.0x40926f.9
movzx edx, byte [esi]
test dl, dl
js 0x409386
inc esi
mov dword [edi + 0x7c], edx
test esi, esi
jmp 0x409a6a
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x4093a5
add esi, 2
mov dword [edi + 0x7c], edx
test esi, esi
jmp 0x409a6a
push edx
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004a46b0
mov edx, dword [esp + 0x48]
add esp, 0xc
mov esi, dword [esp + 0x38]
test esi, esi
mov dword [edi + 0x7c], edx
jmp 0x409a6a
cmp bl, 0x2a
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x2c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4093e0
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.user_name
jmp 0x409a42
cmp bl, 0x32
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x30]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409425
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.user_domain
jmp 0x409a42
cmp bl, 0x38
jne case.0x40926f.9
movzx edx, byte [esi]
test dl, dl
js 0x409465
xor eax, eax
inc esi
jmp 0x409499
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x40947e
xor eax, eax
add esi, 2
jmp 0x409499
push edx
lea eax, [esp + 0x54]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x64]
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
or edx, eax
je 0x4094ac
mov al, 1
test esi, esi
mov byte [edi + 0x80], al
jmp 0x409a6a
xor al, al
test esi, esi
mov byte [edi + 0x80], al
jmp 0x409a6a
cmp bl, 0x42
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x34]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4094d5
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.instance_id
jmp 0x409a42
cmp bl, 0x52
jne case.0x40926f.9
mov eax, dword [edi + 0x4c]
test eax, eax
jne 0x40952a
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40951e
mov eax, dword [eax]
push eax
call fcn.004903a0
add esp, 4
mov dword [edi + 0x4c], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
jmp 0x409a6a
cmp bl, 0x5a
jne case.0x40926f.9
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x409568
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40955c
mov eax, dword [eax]
push eax
call fcn.004904a0
add esp, 4
mov dword [edi + 0x50], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
jmp 0x409a6a
cmp bl, 0x62
jne case.0x40926f.9
dec esi
mov eax, dword [edi + 0x14]
inc esi
test eax, eax
je 0x4095a1
mov ecx, dword [edi + 0xc]
cmp ecx, dword [eax]
jge 0x4095a1
mov edx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [edi + 0xc], eax
jmp 0x4095b4
mov ecx, dword [edi + 8]
call fcn.00436460
push eax
lea ecx, [edi + 8]
call fcn.004b0250
mov edx, eax
mov ecx, dword [esp + 0xc]
push esi
push edx
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
cmp esi, dword [eax]
jae 0x4091ec
cmp byte [esi], 0x62
je 0x409586
jmp 0x4091e8
cmp bl, 0x68
jne case.0x40926f.9
movzx edx, byte [esi]
test dl, dl
js 0x4095fd
inc esi
mov dword [edi + 0x84], edx
test esi, esi
jmp 0x409a6a
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x40961f
add esi, 2
mov dword [edi + 0x84], edx
test esi, esi
jmp 0x409a6a
push edx
lea eax, [esp + 0x44]
push esi
push eax
call fcn.004a46b0
mov edx, dword [esp + 0x50]
add esp, 0xc
mov esi, dword [esp + 0x40]
test esi, esi
mov dword [edi + 0x84], edx
jmp 0x409a6a
cmp bl, 0x72
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x38]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40965d
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.effective_policy
jmp 0x409a42
cmp bl, 0x82
jne 0x4096a8
mov eax, dword [esp + 0xc]
push eax
lea eax, [edi + 0x18]
push esi
push eax
call fcn.004a4260
mov esi, eax
add esp, 0xc
test esi, esi
jmp 0x409a6a
cmp bl, 0x80
jne case.0x40926f.9
movzx edx, byte [esi]
test dl, dl
js 0x4096bb
inc esi
jmp 0x4096e9
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x4096d2
add esi, 2
jmp 0x4096e9
push edx
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.004a46b0
mov edx, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
lea ecx, [edi + 0x18]
call fcn.004e3d60
test esi, esi
jmp 0x409a6a
cmp bl, 0x8a
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x3c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40971b
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.causality_id
jmp 0x409a42
cmp bl, 0x92
jne case.0x40926f.9
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x409770
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409764
mov eax, dword [eax]
push eax
call fcn.00490520
add esp, 4
mov dword [edi + 0x54], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
jmp 0x409a6a
cmp bl, 0x9a
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x40]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40979e
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.os_spawner_iid
jmp 0x409a42
cmp bl, 0xa2
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x44]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4097e3
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.spawner_iid
jmp 0x409a42
cmp bl, 0xaa
jne case.0x40926f.9
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x409838
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40982c
mov eax, dword [eax]
push eax
call fcn.004905a0
add esp, 4
mov dword [edi + 0x58], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xb2
jne case.0x40926f.9
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x409880
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409874
mov eax, dword [eax]
push eax
call fcn.004903a0
add esp, 4
mov dword [edi + 0x5c], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xba
jne case.0x40926f.9
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x4098c8
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4098bc
mov eax, dword [eax]
push eax
call fcn.004903a0
add esp, 4
mov dword [edi + 0x60], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xc2
jne case.0x40926f.9
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x409910
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409904
mov eax, dword [eax]
push eax
call fcn.00490520
add esp, 4
mov dword [edi + 0x64], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xca
jne case.0x40926f.9
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x409958
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40994c
mov eax, dword [eax]
push eax
call fcn.00490520
add esp, 4
mov dword [edi + 0x68], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xd2
jne case.0x40926f.9
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x4099a0
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409994
mov eax, dword [eax]
push eax
call fcn.00490520
add esp, 4
mov dword [edi + 0x6c], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xda
jne case.0x40926f.9
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x4099e8
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4099dc
mov eax, dword [eax]
push eax
call fcn.00490520
add esp, 4
mov dword [edi + 0x70], eax
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
cmp bl, 0xe2
jne case.0x40926f.9
mov eax, dword [edi + 4]
lea ecx, [edi + 0x48]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x409a1c
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x409ad7
push str.traps_common.proto.SecurityEvent.Process.real_user_name
sub esp, 8
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
mov ecx, esp
jb 0x409a51
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
call fcn.004a47c0
add esp, 0xc
test al, al
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
test ebx, ebx
je 0x409ad3
mov eax, ebx
and al, 7
cmp al, 4
je 0x409ad3
test byte [edi + 4], 1
lea ecx, [edi + 4]
je 0x409a94
mov ecx, dword [ecx]
and ecx, 0xfffffffc
add ecx, 4
jmp 0x409a9b
call fcn.0043fa30
mov ecx, eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ecx
push 0
push ebx
call fcn.004a5920
mov esi, eax
add esp, 0x14
test esi, esi
je 0x409ad7
mov eax, dword [esp + 0xc]
jmp 0x4091e8
test ecx, ecx
jle 0x409aec
xor ecx, ecx
cmp dword [eax + 8], ecx
cmove esi, ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test esi, esi
jne 0x409ae2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0xc]
lea ecx, [ebx - 1]
mov dword [eax + 0x3c], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8