Function at 0xc42090
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x1dc], ebx
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x1f8]
push edi
mov dword [esp + 0x44], ecx
jne 0xc420be
mov edi, 0xc0000005
jmp 0xc42857
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov ecx, dword [esp + 0x30]
jne 0xc420ee
cmp ecx, ebx
jne 0xc420ee
mov edi, 0xc000011e
jmp 0xc42857
mov edx, dword [esp + 0x1f4]
mov ebp, dword [esp + 0x1f0]
and edx, 8
cmp dl, 8
jne 0xc42136
cmp ebp, ebx
je 0xc42136
mov edx, dword [ebp + 4]
cmp edx, ecx
jl 0xc42136
jg 0xc42118
mov ecx, dword [ebp]
cmp ecx, eax
jbe 0xc42136
lea ecx, [esp + 0x1fc]
call fcn.00c66940
pop edi
pop esi
pop ebp
mov eax, 0xc0000040
pop ebx
add esp, 0x1d0
ret 0x20
lea edx, [esp + 0x68]
push 0x30
push edx
mov dword [esp + 0x24], ebx
call fcn.00c30f10
mov eax, dword [esp + 0x200]
add esp, 8
test eax, 0x1000000
push ebx
je 0xc4260c
mov edx, dword [esi]
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
push 0x40
lea ecx, [esp + 0x1a8]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0xc42602
cmp dword [esp + 0x24], 0x40
jne 0xc42602
cmp word [esp + 0x1a0], 0x5a4d
jne 0xc42602
mov eax, dword [esp + 0x1dc]
mov edi, dword [esi]
push ebx
cdq
push ebx
push edx
push eax
mov eax, dword [edi + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
push 0xf8
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0xc42602
cmp dword [esp + 0x24], 0xf8
jne 0xc42602
mov ecx, dword [esp + 0xd0]
cmp ecx, ebx
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x14], eax
jne 0xc42209
mov dword [esp + 0x68], ebx
jmp 0xc4220f
add ecx, eax
mov dword [esp + 0x68], ecx
movzx eax, word [esp + 0x106]
movzx ecx, word [esp + 0xac]
movzx edx, word [esp + 0x104]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x78], edx
mov dx, word [esp + 0xf0]
mov dword [esp + 0x74], eax
mov ax, word [esp + 0xf2]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x6c], ebx
mov word [esp + 0x7e], dx
mov word [esp + 0x7c], ax
cmp dword [ecx + 0x9c], ebx
je 0xc422ba
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push 1
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x18], 1
call edx
mov ecx, eax
call fcn.00ca07c0
mov ecx, dword [edi + 0x40]
push eax
add ecx, 0xac
call fcn.00ca07c0
push eax
call dword [0x100ccd8c]
test eax, eax
jne 0xc422ba
lea edi, [eax + 1]
jmp 0xc422bc
xor edi, edi
test byte [esp + 0x10], 1
je 0xc422cc
lea ecx, [esp + 0x3c]
call fcn.00c70440
mov eax, dword [esp + 0xf8]
lea ebp, [esp + 0xa0]
push ebp
mov dword [esp + 0x24], eax
mov edx, dword [esi]
xor ecx, ecx
push 2
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esp + 0x20]
mov ecx, dword [0x100cca70]
push ebx
push 0x8000000
push 0x40
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1f4]
lea eax, [esp + 0x48]
push eax
push ebx
or edx, 0xf
add ecx, 0x2dc
push edx
mov dword [esp + 0x58], ebx
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
cmp edi, ebx
mov dword [esp + 0x28], ebx
je 0xc42351
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0xb4]
cmp eax, ebx
je 0xc42351
mov dword [esp + 0x14], eax
jmp 0xc423eb
mov ecx, dword [esp + 0x20]
mov edi, dword [0x100cca70]
mov ebp, dword [0x100b0218]
push 0x40
push 0x100000
push 1
lea eax, [esp + 0x2c]
push eax
push ebx
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
add edi, 0x3cc
call ebp
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebx
je 0xc423e3
cmp dword [esp + 0x14], ebx
je 0xc423db
mov edx, dword [esp + 0x20]
mov edi, dword [0x100cca70]
push 0x40
push 0x100000
push 1
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edx
push ebx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], ebx
add edi, 0x3cc
call ebp
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebx
jne 0xc4284e
mov dword [esp + 0x28], 1
mov edx, dword [esi]
push ebx
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xfc]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x3c]
movzx ecx, word [edi + eax + 0x14]
add edi, eax
cmp word [edi + 6], 0
lea ebx, [edi + ecx + 0x18]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], 0
jbe 0xc425d3
add ebx, 0xc
mov dword [esp + 0x10], ebx
jmp 0xc42454
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx - 4]
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x38]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.00c38a40
mov ebp, dword [ebx]
add ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
push eax
push ebp
mov dword [esp + 0x54], ebp
call fcn.00c30f10
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 0x20
cmp ecx, eax
jne 0xc424c2
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x98]
push ecx
push 1
mov ecx, eax
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x74], eax
call edx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x48], 0
je 0xc424f0
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x24]
push eax
push ecx
push ebp
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x50]
sub eax, dword [ebx]
mov edx, dword [ebx + 8]
mov ebp, dword [esp + 0xa0]
add eax, edx
cmp eax, ebp
jae 0xc42507
mov ebp, eax
cmp word [edi + 6], 0
mov dword [esp + 0x4c], 0
jbe 0xc42569
mov ebx, dword [esp + 0x58]
add ebx, 0x14
lea ecx, [ecx]
mov edx, dword [edi + 0x38]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [ebx - 4]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.00c38a40
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
add esp, 0x18
cmp eax, ecx
jbe 0xc42553
cmp eax, ebp
jae 0xc42553
mov ebp, eax
mov eax, dword [esp + 0x4c]
movzx edx, word [edi + 6]
add eax, 1
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x4c], eax
jl 0xc42520
mov eax, dword [esp + 0x48]
lea ebx, [ecx + eax]
cmp ebp, ebx
jbe 0xc425b3
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ebx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x14]
sub eax, edx
add ecx, eax
mov eax, ebp
sub eax, ebx
cmp eax, ecx
jb 0xc425a3
mov eax, ecx
mov ebx, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push eax
push edx
mov edx, dword [ebx + 0x34]
mov ecx, esi
call edx
mov eax, dword [esp + 0x50]
movzx ecx, word [edi + 6]
add dword [esp + 0x10], 0x28
add eax, 1
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0xc42450
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
je 0xc4279d
mov edi, dword [0x100cca70]
push eax
add edi, 0x45c
call dword [0x100b0218]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
jmp 0xc4279d
mov edi, 0xc000012f
jmp 0xc4284e
mov ecx, dword [0x100cca70]
push eax
mov eax, dword [esp + 0x1f0]
push 0x40
lea edx, [esp + 0x38]
push edx
push ebx
or eax, 7
add ecx, 0x2dc
push eax
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov edi, eax
cmp edi, ebx
jne 0xc4284e
mov edx, dword [esi]
push ebx
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
xor edx, edx
test eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
jl 0xc4282b
mov edi, dword [esp + 0x2c]
jg 0xc42684
test edi, edi
jbe 0xc42773
jmp 0xc42684
mov edi, dword [esp + 0x2c]
mov ebp, dword [0x100cccb0]
mov ecx, edi
sub ecx, edx
sbb eax, ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], 0
jg 0xc426aa
jl 0xc426a4
cmp ecx, ebp
jae 0xc426aa
sub edi, edx
mov eax, edi
jmp 0xc426ac
mov eax, ebp
mov edi, dword [0x100cca70]
mov ebx, dword [0x100b0218]
push 4
push 0
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x30], eax
push 0
lea eax, [esp + 0x2c]
push eax
add edi, 0x3cc
call ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0xc4284c
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [0x100cca70]
push eax
add edi, 0x45c
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0xc4284c
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
adc ebx, eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
jl 0xc42680
jg 0xc42824
mov edi, dword [esp + 0x2c]
cmp edx, edi
jb 0xc42684
mov ebp, dword [esp + 0x1f0]
test ebp, ebp
je 0xc4279d
mov ecx, dword [ebp + 4]
cmp ecx, eax
mov edx, dword [ebp]
jl 0xc4279d
jg 0xc42787
cmp edx, edi
jbe 0xc4279d
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x200], 0
je 0xc42834
push 0
push 1
push 1
push 0
call dword [0x100b011c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1e8]
mov edi, eax
push esi
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x200]
push ecx
push edx
add edi, 0x6000000
push eax
lea ecx, [esp + 0x3c]
and edi, 0xfffffffc
push ecx
mov dword [esp + 0x4c], edi
call fcn.00c5ff90
mov ecx, dword [esp + 0x5c]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
add ecx, 0xc0
call fcn.00c74210
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x1e4]
mov dword [ecx], edi
je 0xc4284a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
jmp 0xc4284a
mov ebp, dword [esp + 0x1f0]
mov edi, dword [esp + 0x2c]
jmp 0xc42773
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00c38880
mov edx, dword [esp + 0x1e8]
add esp, 4
mov dword [edx], eax
xor edi, edi
xor ebx, ebx
lea ecx, [esp + 0x1c]
call fcn.00c38970
cmp esi, ebx
je 0xc42863
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d0
ret 0x20