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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0xc], ebx
nop dword [eax + eax]
cmp esi, dword [ebx]
jb 0x425aa1
mov eax, esi
sub eax, dword [ebx + 4]
cmp eax, dword [ebx + 0x10]
je 0x42662c
push dword [ebx + 0x48]
mov ecx, ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004a3dd0
cmp byte [esp + 0x24], 0
mov esi, dword [esp + 0x20]
jne 0x42665c
movzx ebx, byte [esi]
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
cmp ebx, 0x80
jae 0x425ab7
mov esi, eax
jmp 0x425ae8
movzx ecx, byte [eax]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x425ad1
add esi, 2
jmp 0x425ae8
push ebx
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.004a45e0
mov ebx, dword [esp + 0x38]
add esp, 0xc
mov esi, dword [esp + 0x28]
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 0x23
ja case.default.0x425af7
jmp dword [eax*4 + 0x426668]
cmp bl, 0xa
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x28]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425b18
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.osVersion
mov eax, dword [esp + 0x14]
sub esp, 8
mov ecx, esp
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x425b53
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 0x425a70
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp bl, 0x12
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x2c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425b97
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.agentIp
jmp 0x425b40
cmp bl, 0x1a
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x30]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425bde
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.deviceName
jmp 0x425b40
cmp bl, 0x22
jne case.default.0x425af7
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425c29
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x44], eax
add esp, 4
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push esi
push eax
call fcn.004a43c0
mov esi, eax
test esi, esi
jne 0x425a70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp bl, 0x2a
jne case.default.0x425af7
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425c73
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x48], eax
jmp 0x425c32
cmp bl, 0x32
jne case.default.0x425af7
mov eax, dword [edi + 0x4c]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425c9c
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x4c], eax
jmp 0x425c32
cmp bl, 0x3a
jne case.default.0x425af7
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425cc9
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x50], eax
jmp 0x425c32
cmp bl, 0x42
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x34]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425cf1
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.agentVersion
jmp 0x425b40
cmp bl, 0x4a
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x38]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425d38
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.contentVersion
jmp 0x425b40
cmp bl, 0x52
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x3c]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x425d7f
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.policyTag
jmp 0x425b40
cmp bl, 0x58
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x425dbf
inc esi
jmp 0x425ded
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x425dd6
add esi, 2
jmp 0x425ded
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 + 0x80], edx
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0x60
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x425e17
inc esi
jmp 0x425e45
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x425e2e
add esi, 2
jmp 0x425e45
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]
mov dword [edi + 0x84], edx
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0x68
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x425e6f
inc esi
jmp 0x425e9d
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x425e86
add esi, 2
jmp 0x425e9d
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]
mov dword [edi + 0x88], edx
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0x70
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x425ec7
inc esi
jmp 0x425ef5
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x425ede
add esi, 2
jmp 0x425ef5
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]
mov dword [edi + 0x8c], edx
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0x7a
jne case.default.0x425af7
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x425c35
test byte [edi + 4], 1
je 0x425f3b
mov eax, dword [edi + 4]
and eax, 0xfffffffc
mov ecx, dword [eax]
call fcn.00437a70
mov dword [edi + 0x54], eax
jmp 0x425c35
mov ecx, dword [edi + 4]
and ecx, 0xfffffffc
call fcn.00437a70
mov dword [edi + 0x54], eax
jmp 0x425c35
cmp bl, 0x82
jne case.default.0x425af7
add esi, 0xfffffffe
lea eax, [edi + 8]
nop dword [eax]
mov ecx, eax
call fcn.004e3f30
mov edx, dword [esp + 0xc]
mov ebx, eax
push edx
lea eax, [esi + 2]
push eax
push ebx
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.agentIpList
sub esp, 8
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
mov ecx, esp
jb 0x425f99
mov eax, dword [ebx]
mov dword [ecx + 4], 0
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
call fcn.004a47c0
add esp, 0xc
test al, al
je 0x426647
mov ebx, dword [esp + 0xc]
cmp esi, dword [ebx]
jae 0x425a74
mov ax, word [esi]
lea ecx, [esp + 0x18]
mov word [esp + 0x18], 0x182
cmp ax, word [ecx]
lea eax, [edi + 8]
je 0x425f60
jmp 0x425a70
cmp bl, 0x8a
jne case.default.0x425af7
mov ebx, dword [esp + 0xc]
lea edx, [edi + 0x18]
add esi, 0xfffffffe
lea eax, [esi + 2]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
test eax, eax
je 0x426013
mov ecx, dword [edx + 4]
cmp ecx, dword [eax]
jge 0x426013
mov esi, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [edx + 4], eax
jmp 0x426025
mov ecx, dword [edx]
call fcn.00437b20
push eax
lea ecx, [edi + 0x18]
call fcn.004b0250
mov esi, eax
push dword [esp + 0x10]
mov ecx, ebx
push esi
call fcn.004a43c0
mov esi, eax
test esi, esi
je 0x426647
cmp esi, dword [ebx]
jae 0x425a74
mov ax, word [esi]
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], 0x18a
lea edx, [edi + 0x18]
cmp ax, word [ecx]
je 0x425ff2
jmp 0x425a70
cmp bl, 0x90
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x426073
xor eax, eax
inc esi
jmp 0x4260a7
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x42608c
xor eax, eax
add esi, 2
jmp 0x4260a7
push edx
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x6c]
add esp, 0xc
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
or edx, eax
je 0x4260af
mov al, 1
jmp 0x4260b1
xor al, al
mov byte [edi + 0x90], al
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0x98
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x4260dd
xor eax, eax
inc esi
jmp 0x426111
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x4260f6
xor eax, eax
add esi, 2
jmp 0x426111
push edx
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x7c]
add esp, 0xc
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x68]
or edx, eax
je 0x426119
mov al, 1
jmp 0x42611b
xor al, al
mov byte [edi + 0x91], al
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0xa0
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x426147
xor eax, eax
inc esi
jmp 0x426181
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x426160
xor eax, eax
add esi, 2
jmp 0x426181
push edx
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x8c]
add esp, 0xc
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x78]
or edx, eax
je 0x426189
mov al, 1
jmp 0x42618b
xor al, al
mov byte [edi + 0x92], al
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0xa8
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x4261bd
mov dword [esp + 0x14], 0
inc esi
jmp 0x4261fc
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x4261dc
mov dword [esp + 0x14], 0
add esi, 2
jmp 0x4261fc
push edx
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0x9c]
add esp, 0xc
mov esi, dword [esp + 0x88]
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
mov dword [edi + 0x94], edx
jmp 0x425a70
cmp bl, 0xb0
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x426228
xor eax, eax
inc esi
jmp 0x426268
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x426241
xor eax, eax
add esi, 2
jmp 0x426268
push edx
lea eax, [esp + 0x9c]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0xac]
add esp, 0xc
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x98]
or edx, eax
je 0x426270
mov al, 1
jmp 0x426272
xor al, al
mov byte [edi + 0x93], al
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0xba
jne case.default.0x425af7
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4262ab
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x58], eax
jmp 0x425c32
cmp bl, 0xc2
jne case.default.0x425af7
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4262db
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x5c], eax
jmp 0x425c32
cmp bl, 0xc8
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x4262fe
xor eax, eax
inc esi
jmp 0x42633e
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x426317
xor eax, eax
add esi, 2
jmp 0x42633e
push edx
lea eax, [esp + 0xac]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0xbc]
add esp, 0xc
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xa8]
or edx, eax
je 0x426346
mov al, 1
jmp 0x426348
xor al, al
mov byte [edi + 0x98], al
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0xd2
jne case.default.0x425af7
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x426381
mov eax, dword [eax]
push eax
call fcn.004903a0
mov dword [edi + 0x60], eax
jmp 0x425c32
cmp bl, 0xda
jne case.default.0x425af7
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4263b1
mov eax, dword [eax]
push eax
call fcn.004903a0
mov dword [edi + 0x64], eax
jmp 0x425c32
cmp bl, 0xe2
jne case.default.0x425af7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x40]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4263d9
mov eax, dword [eax]
push eax
call fcn.004b0a50
mov ebx, dword [esp + 0xc]
push ebx
push esi
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x426647
push str.traps_common.proto.AgentStatus.policyYamlVersion
jmp 0x425b40
cmp bl, 0xea
jne case.default.0x425af7
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x426428
mov eax, dword [eax]
push eax
call fcn.0048afa0
mov dword [edi + 0x68], eax
jmp 0x425c32
cmp bl, 0xf2
jne case.default.0x425af7
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x426458
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x6c], eax
jmp 0x425c32
cmp bl, 0xf8
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x426479
inc esi
jmp 0x4264a7
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x426490
add esi, 2
jmp 0x4264a7
push edx
lea eax, [esp + 0x54]
push esi
push eax
call fcn.004a46b0
mov edx, dword [esp + 0x60]
add esp, 0xc
mov esi, dword [esp + 0x50]
mov dword [edi + 0x9c], edx
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
test bl, bl
jne case.default.0x425af7
movzx edx, byte [esi]
test dl, dl
js 0x4264d2
xor eax, eax
inc esi
jmp 0x426512
movzx ecx, byte [esi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x4264eb
xor eax, eax
add esi, 2
jmp 0x426512
push edx
lea eax, [esp + 0xbc]
push esi
push eax
call fcn.004a4730
mov edx, dword [esp + 0xcc]
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xb8]
or edx, eax
je 0x42651a
mov al, 1
jmp 0x42651c
xor al, al
mov byte [edi + 0x99], al
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
cmp bl, 0xa
jne case.default.0x425af7
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x426555
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x70], eax
jmp 0x425c32
cmp bl, 0x12
jne case.default.0x425af7
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x426581
mov eax, dword [eax]
push eax
call fcn.004904a0
mov dword [edi + 0x74], eax
jmp 0x425c32
cmp bl, 0x1a
jne case.default.0x425af7
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4265ad
mov eax, dword [eax]
push eax
call fcn.0048afa0
mov dword [edi + 0x78], eax
jmp 0x425c32
cmp bl, 0x22
jne case.default.0x425af7
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x425c35
mov eax, dword [edi + 4]
and eax, 0xfffffffc
test byte [edi + 4], 1
je 0x4265d9
mov eax, dword [eax]
push eax
call fcn.004905a0
mov dword [edi + 0x7c], eax
jmp 0x425c32
test ebx, ebx
je 0x426643
mov eax, ebx
and al, 7
cmp al, 4
je 0x426643
test byte [edi + 4], 1
lea ecx, [edi + 4]
je 0x426606
mov eax, dword [ecx]
and eax, 0xfffffffc
add eax, 4
jmp 0x42660b
call fcn.0043fa30
mov edx, dword [esp + 0xc]
push edx
push esi
push eax
push 0
push ebx
call fcn.004a5920
mov esi, eax
add esp, 0x14
test esi, esi
je 0x426647
mov ebx, dword [esp + 0xc]
jmp 0x425a70
test eax, eax
jle 0x42665c
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 0x426652
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0xc]
lea ecx, [ebx - 1]
mov dword [edx + 0x3c], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8