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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], esi
mov edx, dword [esp + 0x74]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x8b], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x20], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
jne 0x498ced
mov byte [esp + 0x8b], 1
jmp 0x498e9e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
mov ecx, dword [ebp + 8]
imul ecx, dword [ecx + 4], 0xc
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa8], 0
je 0x498d2c
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
jmp 0x498d48
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x20]
imul ecx, dword [ecx + 4], 0xc
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa8], 0
je 0x498e9c
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov esi, eax
sar esi, 0x1f
add ecx, eax
adc edx, esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
mov esi, edx
sar esi, 0x1f
add ecx, edx
adc eax, esi
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
sub ecx, edx
sbb eax, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
jae 0x498e07
jmp 0x498ddd
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x20]
imul edx, dword [edx + 4], 0xc
add ecx, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00499574
jmp 0x498e89
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
mov esi, edx
sar esi, 0x1f
add eax, edx
adc ecx, esi
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
sub eax, edx
sbb ecx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
jb 0x498e87
jmp 0x498e42
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov esi, edx
sar esi, 0x1f
add eax, edx
adc ecx, esi
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
sub edx, eax
sbb esi, ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edx
jb 0x498e87
jmp 0x498e7d
mov byte [esp + 0x8b], 1
jmp 0x498e9c
jmp 0x498e89
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xa8], eax
jmp 0x498d63
jmp 0x498e9e
test byte [esp + 0x8b], 1
je 0x499416
mov eax, 2
lea ecx, [esp + 0x84]
mov dword [esp], 2
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
call fcn.004668cc
mov dword [esp + 0x80], eax
cmp dword [esp + 0x80], 0
je 0x498ef0
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc0], eax
jmp 0x499421
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0x4000
cmp eax, 0
je 0x499248
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x498f0e
jmp 0x498f37
lea eax, str.matching_string__chained_to___NULL
lea ecx, str.yara405libyara_scan.c
mov edx, 0x1ae
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1ae
mov dword [esp + 0x44], edx
call fcn.0077aea4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x20]
imul ecx, dword [ecx + 4], 0xc
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa8], 0
je 0x499044
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov esi, eax
sar esi, 0x1f
add ecx, eax
adc edx, esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x2c]
mov esi, edx
sar esi, 0x1f
add ecx, edx
adc eax, esi
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
sub ecx, edx
sbb eax, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
jb 0x49902e
jmp 0x498fc2
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov esi, edx
sar esi, 0x1f
add eax, edx
adc ecx, esi
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
sub edx, eax
sbb esi, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edx
jb 0x49902e
jmp 0x498ffd
mov eax, 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x20]
mov esi, dword [esp + 0xa8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
mov dword [esp + 0x30], eax
call fcn.00499614
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xa8], eax
jmp 0x498f52
mov dword [esp + 0x8c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
cmp dword [eax + 0x20], 0
je 0x49908a
mov eax, dword [esp + 0x8c]
add eax, 1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xac], eax
jmp 0x499059
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x68]
mov ecx, dword [esp + 0xac]
imul ecx, dword [ecx + 4], 0xc
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa8], 0
je 0x499243
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x24]
cmp eax, dword [esp + 0x8c]
jne 0x499230
mov eax, dword [esp + 0xa8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x68]
mov edx, dword [esp + 0xac]
mov edx, dword [edx + 4]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*4]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
call fcn.00499574
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 8]
sub eax, ecx
mov ecx, dword [ebp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x10]
cmp eax, dword [esp + 0x84]
jae 0x49914a
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
jmp 0x499155
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004891d4
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0xa8]
cmp dword [eax + 0x18], 0
jne 0x4991a6
mov dword [esp + 0xc0], 1
jmp 0x499421
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0xb0]
sub edx, esi
add edx, ecx
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0076d444
xor ecx, ecx
mov edx, dword [esp + 0xa8]
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x64]
mov edi, dword [esp + 0xac]
imul edi, dword [edi + 4], 0xc
add esi, edi
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call fcn.00499434
mov dword [esp + 0x7c], eax
cmp dword [esp + 0x7c], 0
je 0x49922e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc0], eax
jmp 0x499421
jmp 0x499230
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xa8], eax
jmp 0x4990a6
jmp 0x499414
mov eax, 0x30
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], 0x30
mov dword [esp + 0x20], eax
call fcn.004891d4
mov dword [esp + 0xa0], eax
cmp dword [esp + 0xa0], 0
jne 0x499288
mov dword [esp + 0xc0], 1
jmp 0x499421
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xa0]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xa0]
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x20], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0x100000
cmp eax, 0
setne bl
mov eax, dword [esp + 0xa0]
and bl, 1
mov byte [eax + 0x28], bl
mov eax, dword [ebp + 0x24]
cmp eax, dword [esp + 0x84]
jae 0x499326
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
jmp 0x499331
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0xa0]
cmp dword [eax + 0x14], 0
jle 0x4993bc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004891d4
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0xa0]
cmp dword [eax + 0x18], 0
jne 0x49938f
mov dword [esp + 0xc0], 1
jmp 0x499421
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0076d444
mov dword [esp + 0x18], eax
jmp 0x4993ca
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x18], 0
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x68]
mov esi, dword [ebp + 8]
imul esi, dword [esi + 4], 0xc
add edx, esi
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
call fcn.00499434
mov dword [esp + 0x78], eax
cmp dword [esp + 0x78], 0
je 0x499412
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc0], eax
jmp 0x499421
jmp 0x499414
jmp 0x499416
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0xc0]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret