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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1774
call fcn.00465dc0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x228]
test eax, eax
push edi
mov dword [esp + 0x68], esi
jne 0x42db19
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x28], ecx
jmp 0x42db23
mov edx, dword [ebx + 0x1c0]
mov dword [esp + 0x28], edx
test eax, eax
jne 0x42db2c
mov edx, dword [ebx + 0x7c]
jmp 0x42db32
mov edx, dword [ebx + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42db38
sub eax, edi
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x880]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0xc80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x480]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1380]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xf80]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54c]
test eax, eax
mov ecx, dword [esi + 0x554]
mov dword [esp + 0x18], ecx
jge 0x42dbbe
lea edi, [eax + ecx]
test edi, edi
jge 0x42dbbe
mov dword [esp + 0x18], 0
add ecx, eax
cmp edx, ecx
jae 0x42dbd6
sub edx, eax
test ecx, ecx
mov dword [esp + 0x18], edx
jge 0x42dbd6
mov dword [esp + 0x18], 0
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.00446b50
mov ebx, dword [esi + 0x550]
mov eax, dword [esp + 0x24]
xor edi, edi
shl ebx, 1
test eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], edi
jle 0x42dd4b
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc]
movsx ecx, byte [eax]
push ecx
call fcn.00466312
add esp, 4
test eax, eax
je 0x42dc65
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
call fcn.00465720
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
push 2
push edx
push eax
call dword [0x489030]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jmp 0x42dc90
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
call fcn.00465720
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push 1
push ecx
push edx
call dword [0x489030]
mov eax, dword [esp + 0x58]
shl eax, 1
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + eax*4 + 0x880], ebx
mov dword [esp + eax*4 + 0x480], ecx
mov dword [esp + eax*4 + 0x80], ebx
jge 0x42dcd5
lea edx, [ebx + edi]
test edx, edx
mov dword [esp + eax*4 + 0x480], edi
jge 0x42dcd5
mov dword [esp + eax*4 + 0x480], ecx
mov dword [esp + eax*4 + 0x80], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ebx + edi]
cmp ecx, edx
jae 0x42dd03
mov edx, ebx
sub edx, ecx
add edx, edi
cmp ecx, edi
mov dword [esp + eax*4 + 0x80], edx
jae 0x42dd03
xor ecx, ecx
mov dword [esp + eax*4 + 0x480], ecx
mov dword [esp + eax*4 + 0x80], ecx
jmp 0x42dd05
xor ecx, ecx
mov edx, dword [esp + 0x58]
mov dword [esp + eax*4 + 0x1380], ecx
mov ecx, dword [esp + 0x18]
add edi, edx
mov edx, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xf80], ecx
mov ecx, dword [esp + 0x24]
inc eax
add edx, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xc]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
jl 0x42dc12
mov edx, dword [esp + 0x34]
mov edi, dword [ebp + 8]
push edx
mov ecx, edi
call fcn.00446b90
mov ecx, edi
call fcn.00446eb0
lea ecx, [esi + 0x194]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x6c], ecx
call fcn.00446eb0
mov ecx, dword [esi + 0x540]
mov edx, dword [esi + 0x544]
mov edi, dword [esi + 0x554]
mov ebx, dword [esi + 0x53c]
mov dword [esp + 0x38], eax
mov eax, 1
mov dword [esi + 0x53c], eax
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
lea eax, [edi + 8]
imul eax, eax, 0xf00
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x550]
mov dword [esp + 0x50], eax
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], 0
lea ecx, [edi + edi]
jge 0x42dde2
xor eax, eax
test ecx, ecx
jge 0x42dde8
xor ecx, ecx
mov dword [esi + 0x550], eax
mov eax, dword [esi + 0x3dc]
push 0x489bd5
mov dword [esi + 0x554], ecx
push eax
mov ecx, esi
call fcn.00428780
mov eax, dword [esi + 0x54c]
imul eax, dword [esp + 0x28]
add eax, dword [esi + 0x548]
mov ecx, ebx
imul ecx, ecx, 0x1f
mov dword [esp + 0x40], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
mov ecx, dword [esp + 0x48]
imul ecx, ecx, 0x3f
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x54]
sar edx, 7
imul ecx, ecx, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ebx, 6
or ebx, eax
mov eax, 0x80808081
imul ecx
mov eax, dword [esp + 0x30]
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
shl ebx, 5
add ecx, edx
or ebx, ecx
mov dword [esp + 0x60], ebx
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x42e202
lea edx, [esp + 0xc80]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x50]
xor edx, edx
test eax, eax
jle 0x42dee4
mov eax, dword [esp + ebx*4 + 0x880]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x20], ecx
jmp 0x42dec0
mov ecx, dword [esp + 0x20]
jmp 0x42dec0
mov edi, dword [esp + 0x1c]
mov ebx, ecx
shr ecx, 2
add edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x50]
add edx, 0x780
cmp edx, eax
jl 0x42deb4
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42def0
mov ebx, dword [esi + 0x538]
sub eax, edx
cmp ebx, 0xa8c
mov edx, dword [esi + 0x3dc]
mov ecx, 8
jne 0x42df1b
mov ecx, dword [esi + 0x554]
add ecx, 8
push eax
push edi
push 8
push ecx
push edx
call dword [0x48902c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + ebx*4 + 0x480]
mov edi, dword [esp + ebx*4 + 0x80]
mov eax, edx
sub eax, edi
add eax, 0x140
lea eax, [eax + eax*2]
shl eax, 1
sub edi, edx
mov edx, dword [esp + ebx*4 + 0x1380]
mov dword [esp + 0x20], eax
mov eax, dword [esp + ebx*4 + 0xf80]
sub eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edi
add eax, eax
add edi, edi
test eax, eax
mov ecx, 0x3c18
mov dword [esp + 0x10], 0
jle 0x42e07d
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
xor edx, edx
test edi, edi
jle 0x42e058
mov eax, dword [esp + 0xc]
jmp 0x42dfa0
mov edi, dword [esp + 0x1c]
cmp byte [ecx + edi], 0
jne 0x42e037
movzx ebx, byte [ecx + edi - 0x780]
movzx edi, byte [ecx + edi - 3]
add ebx, edi
mov edi, dword [esp + 0x1c]
movzx edi, byte [ecx + edi + 0x780]
add ebx, edi
mov edi, dword [esp + 0x1c]
movzx edi, byte [ecx + edi + 3]
add ebx, edi
je 0x42dfdf
mov word [eax], 0x7bef
jmp 0x42e03f
mov edi, dword [esp + 0x1c]
movzx ebx, byte [ecx + edi - 0xf00]
movzx edi, byte [ecx + edi - 6]
add ebx, edi
mov edi, dword [esp + 0x1c]
movzx edi, byte [ecx + edi + 0xf00]
add ebx, edi
mov edi, dword [esp + 0x1c]
movzx edi, byte [ecx + edi + 6]
add ebx, edi
je 0x42e014
mov word [eax], 0
jmp 0x42e03f
mov edi, dword [esp + 0x10]
sar edi, 1
imul edi, dword [esp + 0x28]
add edi, dword [esp + 0x40]
mov ebx, edx
sar ebx, 1
add ebx, edi
add ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
mov di, word [edi + ebx*2]
jmp 0x42e03c
mov di, word [esp + 0x60]
mov word [eax], di
mov edi, dword [esp + 0x44]
add ecx, 3
inc edx
add edi, edi
add eax, 2
cmp edx, edi
jl 0x42dfa0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add ecx, eax
add dword [esp + 0xc], 0x500
mov eax, dword [esp + 0x2c]
inc edx
add eax, eax
cmp edx, eax
mov dword [esp + 0x10], edx
jl 0x42df86
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + ebx*4 + 0x880]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x70], eax
jle 0x42e1d1
mov edx, dword [esp + 0x38]
add edx, 0x500
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], ecx
lea ebx, [ebx]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x42e1a6
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
jmp 0x42e0e0
movzx ecx, word [eax + 2]
movzx edx, word [eax]
movzx esi, word [eax - 0x4fe]
movzx eax, word [eax - 0x500]
mov edi, eax
mov ebx, esi
and ebx, 0x1f
and edi, 0x1f
add edi, ebx
mov ebx, ecx
and ebx, 0x1f
add edi, ebx
mov ebx, edx
and ebx, 0x1f
add edi, ebx
mov ebx, eax
mov dword [esp + 0x64], esi
and esi, 0xf800
and ebx, 0xf800
add ebx, esi
mov esi, ecx
and esi, 0xf800
add ebx, esi
and eax, 0x7e0
mov esi, edx
and esi, 0xf800
add ebx, esi
mov esi, dword [esp + 0x64]
and esi, 0x7e0
add eax, esi
and ecx, 0x7e0
add eax, ecx
mov ecx, dword [esp + 0x4c]
sar edi, 2
and edx, 0x7e0
add eax, edx
sar eax, 2
sar ebx, 2
and edi, 0x1f
and eax, 0x7e0
and ebx, 0xf800
or edi, ebx
or edi, eax
mov eax, dword [esp + 0x10]
mov word [ecx + eax*2], di
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add eax, 4
dec ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
jne 0x42e0e0
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add edi, eax
add edx, 0xa00
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], ecx
jne 0x42e0c0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + ebx*4 + 0x880]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add edi, edx
inc ebx
add ecx, 3
cmp ebx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
jl 0x42de95
mov edi, dword [esp + 0x78]
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x42e235
push eax
mov eax, dword [esi + 0x3dc]
push eax
call dword [0x48904c]
mov ecx, dword [esi + 0x428]
push ecx
call dword [0x489054]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esi + 0x53c], edx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x544], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x540], eax
mov dword [esi + 0x550], edx
mov dword [esi + 0x554], edi
call fcn.00446f20
mov ecx, dword [ebp + 8]
call fcn.00446f20
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8