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

Disassembly:
push 0xffffffffffffffff
push 0x10186169
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x101f1d98]
push ebx
push ebp
push edi
xor edi, edi
mov ebx, ecx
cmp eax, edi
mov dword [esp + 0x7c], ebx
je 0x10009988
push str.CScanRuleMgr::LoadUsrDocTypeRelation______
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x10
lea eax, [ebx + 8]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x6c], edi
call fcn.10032d60
push 0x101ae4fc
lea ecx, [esp + 0x14]
mov dword [esp + 0xc4], edi
call fcn.100343b0
push str.cgUsrDocTypeRelation.cwe
lea ecx, [esp + 0x14]
call fcn.100343b0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x68]
push ecx
push edx
call fcn.10011dd0
mov ebp, eax
add esp, 8
cmp ebp, edi
mov dword [esp + 0xa4], ebp
je 0x1000a583
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x1000a583
cmp dword [0x101f1d98], edi
je 0x10009a0d
push eax
push str.CScanRuleMgr::LoadUsrDocTypeRelation_1___d_
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
push esi
push ebp
call fcn.100070b0
mov esi, eax
mov eax, dword [0x101f1d98]
add esp, 4
mov dword [esp + 0xa0], esi
test eax, eax
je 0x10009a43
push esi
push str.CScanRuleMgr::LoadUsrDocTypeRelation_1___08x_
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
test esi, esi
je 0x1000a56c
push str.docAlarmRulesFile
push esi
call fcn.100081a0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1000a555
push ebp
call fcn.10008160
mov esi, eax
mov eax, dword [0x101f1d98]
add esp, 4
test eax, eax
je 0x10009a91
push esi
push str.CScanRuleMgr::LoadUsrDocTypeRelation_3___d_
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
test esi, esi
je 0x1000a555
push str.List
push ebp
call fcn.100081a0
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0xb4], esi
je 0x1000a555
push esi
call fcn.10008160
mov ebp, eax
mov eax, dword [0x101f1d98]
add esp, 4
mov dword [esp + 0x98], ebp
test eax, eax
je 0x10009aed
push ebp
push str.CScanRuleMgr::LoadUsrDocTypeRelation_4___d_
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
test ebp, ebp
je 0x1000a555
mov dword [esp + 0x18], 0
jle 0x1000a550
jmp 0x10009b0c
mov esi, dword [esp + 0xb4]
lea ecx, [esp + 0x1c]
call fcn.1000eda0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xc4], 1
push eax
push esi
call fcn.10008180
mov ebp, eax
add esp, 8
xor eax, eax
test ebp, ebp
je 0x10009b41
push str.activeFlag
push ebp
call fcn.100081a0
add esp, 8
test eax, eax
mov dword [esp + 0x1c], 1
je 0x10009b54
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
xor edi, edi
xor esi, esi
cmp ebp, edi
je 0x10009b6c
push str.alarmRulesId
push ebp
call fcn.100081a0
add esp, 8
mov esi, eax
push 0x101f1d04
lea ecx, [esp + 0x24]
call fcn.10033ac0
cmp esi, edi
je 0x10009c70
push 0x101f1d04
lea ecx, [esp + 0xb4]
call fcn.10032e60
mov edx, dword [esi + 0x10]
mov byte [esp + 0xc4], 2
push edx
call fcn.10017020
add esp, 4
test eax, eax
je 0x10009c24
push 0x101f1d04
lea ecx, [esp + 0x64]
call fcn.1002dab0
push 0x101f1d04
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 3
call fcn.10032e60
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 4
call fcn.1002e640
mov ecx, dword [esp + 0x60]
push 0xfde9
push ecx
lea ecx, [esp + 0x58]
call fcn.10037bc0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x20]
push edx
call fcn.100338f0
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 3
call fcn.10033760
mov byte [esp + 0xc4], 2
lea ecx, [esp + 0x60]
jmp 0x10009c57
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x88]
push eax
call fcn.1002dab0
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0xc8], 5
call fcn.10033ac0
mov byte [esp + 0xc4], 2
lea ecx, [esp + 0x88]
call fcn.1002e3e0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xc4], 1
call fcn.10033760
xor esi, esi
cmp ebp, edi
je 0x10009c86
push str.alarmRulesName
push ebp
call fcn.100081a0
add esp, 8
mov esi, eax
push 0x101f1d04
lea ecx, [esp + 0x28]
call fcn.10033ac0
cmp esi, edi
je 0x10009d81
push 0x101f1d04
lea ecx, [esp + 0x80]
call fcn.10032e60
mov ecx, dword [esi + 0x10]
mov byte [esp + 0xc4], 6
push ecx
call fcn.10017020
add esp, 4
test eax, eax
je 0x10009d3e
push 0x101f1d04
lea ecx, [esp + 0x4c]
call fcn.1002dab0
push 0x101f1d04
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 7
call fcn.10032e60
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x48]
push edx
mov byte [esp + 0xc8], 8
call fcn.1002e640
mov eax, dword [esp + 0x48]
push 0xfde9
push eax
lea ecx, [esp + 0x70]
call fcn.10037bc0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x28]
call fcn.100338f0
lea ecx, [esp + 0x68]
mov byte [esp + 0xc4], 7
call fcn.10033760
mov byte [esp + 0xc4], 6
lea ecx, [esp + 0x48]
jmp 0x10009d6b
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x70]
push edx
call fcn.1002dab0
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0xc8], 9
call fcn.10033ac0
mov byte [esp + 0xc4], 6
lea ecx, [esp + 0x70]
call fcn.1002e3e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc4], 1
call fcn.10033760
xor esi, esi
cmp ebp, edi
je 0x10009d97
push str.docTypeName
push ebp
call fcn.100081a0
add esp, 8
mov esi, eax
push 0x101f1d04
lea ecx, [esp + 0x2c]
call fcn.10033ac0
cmp esi, edi
je 0x10009e9b
push 0x101f1d04
lea ecx, [esp + 0x88]
call fcn.10032e60
mov eax, dword [esi + 0x10]
mov byte [esp + 0xc4], 0xa
push eax
call fcn.10017020
add esp, 4
test eax, eax
je 0x10009e4f
push 0x101f1d04
lea ecx, [esp + 0x44]
call fcn.1002dab0
push 0x101f1d04
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 0xb
call fcn.10032e60
mov ecx, dword [esi + 0x10]
mov byte [esp + 0xc4], 0xc
push ecx
lea ecx, [esp + 0x44]
call fcn.1002e640
mov edx, dword [esp + 0x40]
push 0xfde9
push edx
lea ecx, [esp + 0x64]
call fcn.10037bc0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x28]
push eax
call fcn.100338f0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc4], 0xb
call fcn.10033760
mov byte [esp + 0xc4], 0xa
lea ecx, [esp + 0x40]
jmp 0x10009e82
mov ecx, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xa0]
call fcn.1002dab0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0xc8], 0xd
call fcn.10033ac0
mov byte [esp + 0xc4], 0xa
lea ecx, [esp + 0x9c]
call fcn.1002e3e0
lea ecx, [esp + 0x84]
mov byte [esp + 0xc4], 1
call fcn.10033760
xor esi, esi
cmp ebp, edi
je 0x10009eb1
push str.description
push ebp
call fcn.100081a0
add esp, 8
mov esi, eax
push 0x101f1d04
lea ecx, [esp + 0x30]
call fcn.10033ac0
cmp esi, edi
je 0x10009fb5
push 0x101f1d04
lea ecx, [esp + 0x90]
call fcn.10032e60
mov edx, dword [esi + 0x10]
mov byte [esp + 0xc4], 0xe
push edx
call fcn.10017020
add esp, 4
test eax, eax
je 0x10009f69
push 0x101f1d04
lea ecx, [esp + 0x5c]
call fcn.1002dab0
push 0x101f1d04
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 0xf
call fcn.10032e60
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x58]
push eax
mov byte [esp + 0xc8], 0x10
call fcn.1002e640
mov ecx, dword [esp + 0x58]
push 0xfde9
push ecx
lea ecx, [esp + 0x5c]
call fcn.10037bc0
lea edx, [esp + 0x54]
lea ecx, [esp + 0x2c]
push edx
call fcn.100338f0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc4], 0xf
call fcn.10033760
mov byte [esp + 0xc4], 0xe
lea ecx, [esp + 0x58]
jmp 0x10009f9c
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0xac]
push eax
call fcn.1002dab0
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0xc8], 0x11
call fcn.10033ac0
mov byte [esp + 0xc4], 0xe
lea ecx, [esp + 0xac]
call fcn.1002e3e0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xc4], 1
call fcn.10033760
xor esi, esi
cmp ebp, edi
je 0x10009fcb
push 0x101af110
push ebp
call fcn.100081a0
add esp, 8
mov esi, eax
push 0x101f1d04
lea ecx, [esp + 0x34]
call fcn.10033ac0
cmp esi, edi
je 0x1000a0cf
push 0x101f1d04
lea ecx, [esp + 0x98]
call fcn.10032e60
mov ecx, dword [esi + 0x10]
mov byte [esp + 0xc4], 0x12
push ecx
call fcn.10017020
add esp, 4
test eax, eax
je 0x1000a083
push 0x101f1d04
lea ecx, [esp + 0x50]
call fcn.1002dab0
push 0x101f1d04
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0x13
call fcn.10032e60
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0xc8], 0x14
call fcn.1002e640
mov eax, dword [esp + 0x4c]
push 0xfde9
push eax
lea ecx, [esp + 0x4c]
call fcn.10037bc0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x34]
call fcn.100338f0
lea ecx, [esp + 0x44]
mov byte [esp + 0xc4], 0x13
call fcn.10033760
mov byte [esp + 0xc4], 0x12
lea ecx, [esp + 0x4c]
jmp 0x1000a0b6
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0xa4]
push edx
call fcn.1002dab0
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0xc8], 0x15
call fcn.10033ac0
mov byte [esp + 0xc4], 0x12
lea ecx, [esp + 0xa4]
call fcn.1002e3e0
lea ecx, [esp + 0x94]
mov byte [esp + 0xc4], 1
call fcn.10033760
xor eax, eax
cmp ebp, edi
je 0x1000a0e3
push str.minCount
push ebp
call fcn.100081a0
add esp, 8
cmp eax, edi
mov dword [esp + 0x34], 1
je 0x1000a0f6
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
xor eax, eax
cmp ebp, edi
je 0x1000a10a
push str.ratio
push ebp
call fcn.100081a0
add esp, 8
cmp eax, edi
mov dword [esp + 0x38], 0x64
je 0x1000a11d
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x38], ecx
xor eax, eax
cmp ebp, edi
je 0x1000a131
push str.threshold
push ebp
call fcn.100081a0
add esp, 8
mov ecx, 0x64
cmp eax, edi
mov dword [esp + 0x3c], ecx
je 0x1000a145
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
cmp dword [0x101f1d98], edi
je 0x1000a194
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push str.CScanRuleMgr::LoadUsrDocTypeRelation_5__i_d__id_s__activeFlag_d__alarmRulesId_s__alarmRulesName_s__docTypeName_s__description_s__minCount___d__ratio___d__threshold___d_
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x38
mov edx, dword [esp + 0x28]
cmp dword [edx - 8], edi
je 0x1000a4e3
mov eax, dword [esp + 0x20]
cmp dword [eax - 8], edi
je 0x1000a4e3
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 8], edi
jne 0x1000a1e7
lea edx, [esp + 0x74]
push edx
call fcn.10011d00
add esp, 4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 0x16
call fcn.100338f0
lea ecx, [esp + 0x74]
mov byte [esp + 0xc4], 1
call fcn.10033760
mov eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x24]
mov ebp, eax
mov dword [esp + 0x90], ebp
inc ebp
cmp ebp, edi
jne 0x1000a285
cmp esi, edi
je 0x1000a27a
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], esi
je 0x1000a26b
lea ebp, [eax + 1]
lea ecx, [esi + 0x14]
mov byte [esp + 0xc4], 0x1a
call fcn.10033760
lea ecx, [esi + 0x10]
mov byte [esp + 0xc4], 0x19
call fcn.10033760
lea ecx, [esi + 0xc]
mov byte [esp + 0xc4], 0x18
call fcn.10033760
lea ecx, [esi + 8]
mov byte [esp + 0xc4], 0x17
call fcn.10033760
lea ecx, [esi + 4]
mov byte [esp + 0xc4], 1
call fcn.10033760
add esi, 0x24
dec ebp
mov dword [esp + 0x10], esi
jne 0x1000a211
mov eax, dword [ebx + 0x24]
push eax
call fcn.10054626
add esp, 4
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x28], edi
jmp 0x1000a4c9
cmp esi, edi
jne 0x1000a2ed
lea edi, [ebp + ebp*8]
shl edi, 2
push edi
call fcn.1005473e
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebx + 0x24], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
lea edi, [ebp]
mov dword [esp + 0x64], esi
test esi, esi
mov byte [esp + 0xc4], 0x1b
je 0x1000a2d0
mov ecx, esi
call fcn.1000eda0
add esi, 0x24
dec edi
mov byte [esp + 0xc4], 1
mov dword [esp + 0x10], esi
jne 0x1000a2b9
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x28], ebp
jmp 0x1000a4c9
mov edi, dword [ebx + 0x2c]
cmp ebp, edi
jg 0x1000a3de
cmp eax, ebp
jge 0x1000a363
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*8]
lea ecx, [edx + edx*8]
lea edi, [esi + eax*4]
shl ecx, 2
mov esi, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x10], edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x1000a3d6
mov esi, dword [esp + 0x10]
lea edi, [edx + 1]
mov dword [esp + 0x64], esi
test esi, esi
mov byte [esp + 0xc4], 0x1c
je 0x1000a349
mov ecx, esi
call fcn.1000eda0
add esi, 0x24
dec edi
mov byte [esp + 0xc4], 1
mov dword [esp + 0x10], esi
jne 0x1000a332
mov dword [ebx + 0x28], ebp
jmp 0x1000a4c9
jle 0x1000a3d6
sub eax, ebp
lea edx, [ebp + ebp*8]
mov ecx, eax
dec eax
lea esi, [esi + edx*4]
test ecx, ecx
mov dword [esp + 0x10], esi
je 0x1000a3d6
lea edi, [eax + 1]
lea ecx, [esi + 0x14]
mov byte [esp + 0xc4], 0x20
call fcn.10033760
lea ecx, [esi + 0x10]
mov byte [esp + 0xc4], 0x1f
call fcn.10033760
lea ecx, [esi + 0xc]
mov byte [esp + 0xc4], 0x1e
call fcn.10033760
lea ecx, [esi + 8]
mov byte [esp + 0xc4], 0x1d
call fcn.10033760
lea ecx, [esi + 4]
mov byte [esp + 0xc4], 1
call fcn.10033760
add esi, 0x24
dec edi
mov dword [esp + 0x10], esi
jne 0x1000a37c
mov dword [ebx + 0x28], ebp
jmp 0x1000a4c9
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x1000a409
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x1000a3fc
mov ecx, 4
jmp 0x1000a409
cmp ecx, 0x400
jle 0x1000a409
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
jl 0x1000a412
mov eax, ebp
lea edx, [eax + eax*8]
mov dword [esp + 0x10], eax
shl edx, 2
push edx
call fcn.1005473e
mov ecx, dword [ebx + 0x28]
mov esi, dword [ebx + 0x24]
mov edi, eax
mov dword [esp + 0x68], eax
lea ecx, [ecx + ecx*8]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx + 0x28]
sub edx, ebx
lea ecx, [ebx + ebx*8]
lea esi, [eax + ecx*4]
lea ecx, [edx + edx*8]
shl ecx, 2
mov ebx, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0x78], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x1000a4a5
lea edi, [edx + 1]
mov bl, 0x21
mov dword [esp + 0xb8], esi
test esi, esi
mov byte [esp + 0xc4], bl
je 0x1000a493
mov ecx, esi
call fcn.1000eda0
add esi, 0x24
dec edi
mov byte [esp + 0xc4], 1
mov dword [esp + 0x78], esi
jne 0x1000a47a
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx + 0x24]
push eax
call fcn.10054626
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov edx, dword [ebx + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [eax + eax*8]
lea ecx, [edx + ecx*4]
call fcn.1000ef40
lea ecx, [esp + 0x30]
mov byte [esp + 0xc4], 0x25
call fcn.10033760
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 0x24
call fcn.10033760
lea ecx, [esp + 0x28]
mov byte [esp + 0xc4], 0x23
call fcn.10033760
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0x22
call fcn.10033760
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call fcn.10033760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x10009b05
mov edi, 1
mov eax, dword [esp + 0xa0]
push eax
call fcn.10006f70
mov ebp, dword [esp + 0xac]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xc4], 0xffffffff
call fcn.10033760
pop esi
jmp 0x1000a597
lea ecx, [esp + 0x10]
mov dword [esp + 0xc0], 0xffffffff
call fcn.10033760
test ebp, ebp
je 0x1000a5a4
push ebp
call fcn.10054626
add esp, 4
mov eax, dword [0x101f1d98]
test eax, eax
je 0x1000a5c7
push edi
push str.CScanRuleMgr::LoadUsrDocTypeRelation________d_
push str.ScanRule
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
mov ecx, dword [esp + 0xb8]
mov eax, edi
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret