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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
nop dword [eax]
cmp esi, dword [ebx]
jb 0x40b171
mov eax, esi
sub eax, dword [ebx + 4]
cmp eax, dword [ebx + 0x10]
je 0x40b943
push dword [ebx + 0x48]
mov ecx, ebx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a3dd0
cmp byte [esp + 0x1c], 0
mov esi, dword [esp + 0x18]
jne 0x40b973
movzx ebx, byte [esi]
lea eax, [esi + 1]
mov dword [esp + 0xc], eax
cmp ebx, 0x80
jae 0x40b187
mov esi, eax
jmp 0x40b1b8
movzx ecx, byte [eax]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x40b1a1
add esi, 2
jmp 0x40b1b8
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, 0x18
ja case.default.0x40b1c7
jmp dword [eax*4 + 0x40b980]
cmp bl, 0xa
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x18]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b1e8
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.name
mov eax, dword [esp + 0x10]
sub esp, 8
mov edx, eax
mov ecx, esp
cmp dword [eax + 0x14], 0x10
jb 0x40b223
mov edx, dword [eax]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov eax, dword [eax + 0x10]
mov dword [ecx + 4], eax
call fcn.004a47c0
add esp, 0xc
test al, al
jne 0x40b140
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp bl, 0x12
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x1c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b267
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.path
jmp 0x40b210
cmp bl, 0x1a
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x20]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b2ae
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.sha256
jmp 0x40b210
cmp bl, 0x20
jne case.default.0x40b1c7
movzx edx, byte [esi]
test dl, dl
js 0x40b2f0
xor eax, eax
inc esi
jmp 0x40b324
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x40b309
xor eax, eax
add esi, 2
jmp 0x40b324
push edx
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [edi + 0x68], edx
mov dword [edi + 0x6c], eax
test esi, esi
je 0x40b95e
mov ebx, dword [esp + 0x10]
jmp 0x40b140
cmp bl, 0x2a
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x24]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b355
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.version
jmp 0x40b210
cmp bl, 0x32
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x28]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b39c
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.publisher
jmp 0x40b210
cmp bl, 0x3a
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x2c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b3e3
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.quarantine_id
jmp 0x40b210
cmp bl, 0x42
jne case.default.0x40b1c7
mov ebx, dword [esp + 0x10]
lea eax, [edi + 8]
dec esi
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.004e3f30
mov edi, eax
lea eax, [esi + 1]
push ebx
push eax
push edi
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.signers
sub esp, 8
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov ecx, esp
jb 0x40b45a
mov eax, dword [edi]
mov dword [ecx + 4], 0
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
call fcn.004a47c0
add esp, 0xc
test al, al
je 0x40b95e
mov edi, dword [esp + 0x14]
cmp esi, dword [ebx]
jae 0x40b144
cmp byte [esi], 0x42
mov eax, dword [esp + 0xc]
je 0x40b425
jmp 0x40b140
cmp bl, 0x48
jne case.default.0x40b1c7
movzx edx, byte [esi]
test dl, dl
js 0x40b4a8
xor eax, eax
inc esi
jmp 0x40b4dc
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x40b4c1
xor eax, eax
add esi, 2
jmp 0x40b4dc
push edx
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
or edx, eax
je 0x40b4e4
mov al, 1
jmp 0x40b4e6
xor al, al
mov byte [edi + 0x70], al
test esi, esi
je 0x40b95e
mov ebx, dword [esp + 0x10]
jmp 0x40b140
cmp bl, 0x52
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x30]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b514
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.fv_hash
jmp 0x40b210
cmp bl, 0x5a
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x34]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b55b
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.collected_name
jmp 0x40b210
cmp bl, 0x62
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x38]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b5a2
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.version_description
jmp 0x40b210
cmp bl, 0x68
jne case.default.0x40b1c7
movzx edx, byte [esi]
test dl, dl
js 0x40b5e2
inc esi
jmp 0x40b610
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x40b5f9
add esi, 2
jmp 0x40b610
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 0x40b95e
mov ebx, dword [esp + 0x10]
jmp 0x40b140
cmp bl, 0x72
jne case.default.0x40b1c7
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x40b64e
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b642
mov eax, dword [eax]
push eax
call fcn.004e3040
mov dword [edi + 0x50], eax
add esp, 4
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
jne 0x40b140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp bl, 0x7a
jne case.default.0x40b1c7
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x40b64e
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b68c
mov eax, dword [eax]
push eax
call fcn.004e3040
mov dword [edi + 0x54], eax
jmp 0x40b64b
cmp bl, 0x82
jne case.default.0x40b1c7
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x40b64e
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b6b5
mov eax, dword [eax]
push eax
call fcn.004e3040
mov dword [edi + 0x58], eax
jmp 0x40b64b
cmp bl, 0x88
jne case.default.0x40b1c7
movzx edx, byte [esi]
test dl, dl
js 0x40b6d3
inc esi
jmp 0x40b701
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x40b6ea
add esi, 2
jmp 0x40b701
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]
mov dword [edi + 0x78], edx
test esi, esi
je 0x40b95e
mov ebx, dword [esp + 0x10]
jmp 0x40b140
cmp bl, 0x92
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x3c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b72f
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.version_copyright
jmp 0x40b210
cmp bl, 0x9a
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x40]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b776
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.version_internal_name
jmp 0x40b210
cmp bl, 0xa2
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x44]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b7bd
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.version_original_name
jmp 0x40b210
cmp bl, 0xaa
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x48]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b804
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.md5
jmp 0x40b210
cmp bl, 0xb2
jne case.default.0x40b1c7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x4c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b84b
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0x10]
push ebx
push esi
push eax
mov dword [esp + 0x18], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b95e
push str.traps_common.proto.SecurityEvent.File.sha1
jmp 0x40b210
cmp bl, 0xba
jne case.default.0x40b1c7
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x40b64e
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b896
mov eax, dword [eax]
push eax
call fcn.004905a0
mov dword [edi + 0x5c], eax
jmp 0x40b64b
cmp bl, 0xc2
jne case.default.0x40b1c7
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x40b64e
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b8c2
mov eax, dword [eax]
push eax
call fcn.00490520
mov dword [edi + 0x60], eax
jmp 0x40b64b
cmp bl, 0xca
jne case.default.0x40b1c7
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x40b64e
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x40b8ee
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x64], eax
jmp 0x40b64b
test ebx, ebx
je 0x40b95a
mov eax, ebx
and al, 7
cmp al, 4
je 0x40b95a
test byte [edi + 4], 1
lea ecx, [edi + 4]
je 0x40b91b
mov ecx, dword [ecx]
and ecx, 0xfffffffc
add ecx, 4
jmp 0x40b922
call fcn.0043fa30
mov ecx, eax
mov eax, dword [esp + 0x10]
push eax
push esi
push ecx
push 0
push ebx
call fcn.004a5920
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40b95e
mov ebx, dword [esp + 0x10]
jmp 0x40b140
test eax, eax
jle 0x40b973
xor eax, eax
cmp dword [ebx + 8], eax
cmove esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test esi, esi
jne 0x40b969
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
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