Function at 0x10003810
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024ba3
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
cmp dword [ecx + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x240], eax
je 0x10003e3c
lea eax, [ebp - 0x234]
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], 0x1002ce6c
mov dword [ebp - 0x23c], eax
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CVolObject.0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CVolMem.0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0x40
mov dword [ebp - 4], 1
mov dword [ebp - 0x21c], 0x80
mov dword [ebp - 4], 2
lea eax, [ebp - 0x238]
mov ebx, dword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
push 3
push eax
push 0
push 0
push dword [ecx + 4]
mov dword [ebp - 0x238], 0
call ebx
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x228]
shr eax, 2
lea esi, [eax*4]
test ecx, ecx
je 0x100039d5
cmp esi, dword [ebp - 0x220]
je 0x10003a38
test esi, esi
jne 0x10003976
mov eax, dword [ebp - 0x234]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_12
jne 0x10003949
mov ecx, 0x10034c48
call fcn.1000e3f0
jmp 0x10003951
lea ecx, [ebp - 0x234]
call eax
mov dword [ebp - 0x228], 0
xor ecx, ecx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
jmp 0x10003a38
mov edi, dword [ebp - 0x21c]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0x224]
cmp eax, esi
jl 0x1000399a
sub eax, esi
cmp eax, edi
jle 0x10003a32
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0x234]
sub edi, edx
add edi, esi
push edi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_8
jne 0x100039cb
mov ecx, 0x10034c48
call fcn.1000e360
mov ecx, eax
test ecx, ecx
je 0x10003e5c
jmp 0x10003a26
lea ecx, [ebp - 0x234]
call eax
jmp 0x10003a24
test esi, esi
jne 0x100039dd
xor ecx, ecx
jmp 0x10003a38
mov edi, dword [ebp - 0x21c]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0x234]
sub edi, edx
add edi, esi
push edi
mov eax, dword [eax]
cmp eax, method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0
jne 0x10003a1c
mov ecx, 0x10034c48
call fcn.1000e300
mov ecx, eax
test ecx, ecx
je 0x10003e5c
jmp 0x10003a26
lea ecx, [ebp - 0x234]
call eax
mov ecx, eax
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x220], esi
push esi
push 0
push ecx
call fcn.10013ef0
mov eax, dword [ebp - 0x228]
add esp, 0xc
mov esi, dword [ebp - 0x244]
xor ecx, ecx
cmp dword [ebp - 0x220], ecx
push 3
cmove eax, ecx
lea ecx, [ebp - 0x238]
push ecx
push dword [ebp - 0x238]
push eax
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x270]
call fcn.100036a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
push dword [ebp - 0x240]
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CWString.0
call fcn.1000eb50
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x10003ab2
cmp word [ecx], ax
sete al
jmp 0x10003abc
cmp dword [ebp - 0x24c], 2
setle al
test eax, eax
je 0x10003b58
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x254]
test ecx, ecx
jne 0x10003af6
cmp dword [ebp - 0x24c], 0
je 0x10003b00
mov ecx, eax
lea edx, [ebp - 0x218]
cmp edx, ecx
je 0x10003b58
mov dword [ebp - 0x264], 0
test eax, eax
je 0x10003b1e
push eax
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x260]
call dword [eax + 0xc]
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
je 0x10003b58
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.1000dc00
lea ecx, [ebp - 0x29c]
call fcn.100036a0
mov byte [ebp - 4], 5
xor ebx, ebx
mov ecx, dword [ebp - 0x220]
test ecx, 0xfffffffc
jbe 0x10003d9c
nop dword [eax + eax]
mov eax, dword [ebp - 0x228]
xor edx, edx
test ecx, ecx
lea ecx, [ebx*4]
push 0x104
cmove eax, edx
mov dword [ebp - 0x23c], ecx
lea edx, [ebp - 0x218]
push edx
push dword [ecx + eax]
push dword [esi + 4]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov esi, dword [ebp - 0x290]
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x278]
test esi, esi
je 0x10003bcc
mov edx, esi
jmp 0x10003bd2
test ecx, ecx
je 0x10003bdc
mov edx, eax
lea edi, [ebp - 0x218]
cmp edi, edx
je 0x10003c41
xor esi, esi
mov dword [ebp - 0x290], esi
test eax, eax
je 0x10003bfe
push eax
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x28c]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x290]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x27c], eax
cmp word [ebp - 0x218], ax
je 0x10003c41
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x28c]
call fcn.1000dc00
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x280]
mov esi, dword [ebp - 0x290]
mov edi, dword [ebp - 0x264]
test edi, edi
jne 0x10003c5e
cmp dword [ebp - 0x24c], 0
mov edi, 0x1002bd34
cmovne edi, dword [ebp - 0x254]
test esi, esi
jne 0x10003c6c
test ecx, ecx
mov esi, 0x1002bd34
cmovne esi, eax
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003c71
sub ecx, edx
mov edx, edi
sar ecx, 1
lea eax, [edx + 2]
mov dword [ebp - 0x240], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10003c90
sub edx, dword [ebp - 0x240]
sar edx, 1
je 0x10003cdb
cmp ecx, edx
jl 0x10003cbc
sub ecx, edx
push edi
lea eax, [esi + ecx*2]
push eax
call fcn.10015d7e
add esp, 8
test eax, eax
je 0x10003cdb
mov ecx, dword [ebp - 0x220]
inc ebx
mov eax, ecx
shr eax, 2
cmp ebx, eax
jge 0x10003d9c
mov esi, dword [ebp - 0x244]
jmp 0x10003b80
mov eax, dword [ebp - 0x228]
xor ecx, ecx
cmp dword [ebp - 0x220], ecx
mov esi, dword [ebp - 0x23c]
cmove eax, ecx
mov esi, dword [esi + eax]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.10003760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.10003760
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x234]
mov dword [ebp - 0x23c], eax
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CVolMem.0
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x228]
test edx, edx
je 0x10003d66
mov eax, dword [ebp - 0x234]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_12
jne 0x10003d5e
mov ecx, 0x10034c48
call fcn.1000e3f0
jmp 0x10003d66
lea ecx, [ebp - 0x234]
call eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CVolObject.0
jmp 0x10003e3e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.10003760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.10003760
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x234]
mov dword [ebp - 0x23c], eax
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CVolMem.0
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x10003e0d
mov eax, dword [ebp - 0x234]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_12
jne 0x10003e05
mov ecx, 0x10034c48
call fcn.1000e3f0
jmp 0x10003e0d
lea ecx, [ebp - 0x234]
call eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.rg_HuoShanShiChuang_XinMingMoKuai::rg_JinChengCaoZuoLei.virtual_0], vtable.CVolObject.0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012255
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.10015c6a
int3