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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x178c
call fcn.004779b0
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x3f0]
mov eax, dword [ebx + 0x3e0]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x228]
test eax, eax
push esi
push edi
mov dword [esp + 0x40], ebx
jne 0x42dbdf
mov edx, dword [ecx + 0x78]
jmp 0x42dbe5
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x3c], edx
jne 0x42dbf2
mov esi, dword [ecx + 0x7c]
jmp 0x42dbf8
mov esi, dword [ecx + 0x1bc]
call fcn.0045d550
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dc10
sub eax, edx
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x898]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x1098]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x498]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1398]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xc98]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
mov ecx, dword [ebx + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], ecx
jge 0x42dc94
lea edx, [eax + ecx]
test edx, edx
jge 0x42dc94
mov dword [esp + 0x18], edi
add ecx, eax
cmp esi, ecx
jae 0x42dca8
sub esi, eax
cmp ecx, edi
mov dword [esp + 0x18], esi
jge 0x42dca8
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x48]
push eax
call fcn.00447270
mov eax, dword [ebx + 0x550]
shl eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
jle 0x42de27
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1098]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
lea esp, [esp]
mov eax, dword [esp + 0x14]
movsx ecx, byte [eax]
push ecx
call fcn.00477f02
add esp, 4
test eax, eax
je 0x42dd43
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
call fcn.00477380
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
push 2
push edx
push eax
call dword [0x49b030]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
jmp 0x42dd6e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call fcn.00477380
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push 1
push ecx
push edx
call dword [0x49b030]
mov eax, dword [esp + 0x60]
shl eax, 1
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + edi*4 + 0x898], eax
mov dword [esp + edi*4 + 0x498], ecx
mov dword [esp + edi*4 + 0x98], eax
jge 0x42ddb3
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x498], esi
jge 0x42ddb3
mov dword [esp + edi*4 + 0x498], ecx
mov dword [esp + edi*4 + 0x98], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [eax + esi]
cmp ecx, edx
jae 0x42dddf
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0x98], eax
jae 0x42dddf
xor eax, eax
mov dword [esp + edi*4 + 0x498], eax
mov dword [esp + edi*4 + 0x98], eax
jmp 0x42dde1
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword [esp + edi*4 + 0x1398], eax
mov eax, dword [esp + 0x18]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + edi*4 + 0xc98], eax
mov eax, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
jl 0x42dcf0
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x48]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004472b0
mov ecx, esi
call fcn.004475d0
lea ecx, [ebx + 0x194]
mov dword [esp + 0x90], eax
mov dword [esp + 0x74], ecx
call fcn.004475d0
mov edx, dword [ebx + 0x540]
mov ecx, dword [ebx + 0x544]
mov edi, dword [ebx + 0x53c]
mov esi, eax
mov eax, 1
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x554]
mov dword [esp + 0x38], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x24], 0
jge 0x42decc
xor eax, eax
test ecx, ecx
jge 0x42ded2
xor ecx, ecx
mov edx, dword [ebx + 0x3dc]
push 0x49c291
mov dword [ebx + 0x554], ecx
push edx
mov ecx, ebx
mov dword [ebx + 0x550], eax
call fcn.0042d5c0
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x3c]
add eax, dword [ebx + 0x548]
mov dword [esp + 0x7c], eax
mov ecx, edi
mov edi, dword [esp + 0x50]
imul ecx, ecx, 0x1f
mov eax, 0x80808081
imul edi, edi, 0x1f
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x80808081
imul edi
add edx, edi
mov edi, dword [esp + 0x38]
sar edx, 7
imul edi, edi, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ecx, 5
or ecx, eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x14], edi
jle 0x42e355
lea ecx, [esp + 0x1098]
mov dword [esp + 0x1c], ecx
nop
mov eax, dword [esp + 0x58]
xor edx, edx
test eax, eax
mov dword [esp + 0x2c], edx
jle 0x42dfd7
mov edi, dword [esp + edi*4 + 0x898]
add edi, 8
lea ecx, [edi + edi*2]
shl ecx, 1
mov dword [esp + 0x28], ecx
jmp 0x42dfa7
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x2c]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x2c], edx
jl 0x42dfa3
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dfe0
sub eax, edx
cmp dword [ebx + 0x538], 0xa8c
mov edx, dword [ebx + 0x3dc]
mov ecx, 8
jne 0x42e009
mov ecx, dword [ebx + 0x554]
add ecx, 8
push eax
mov eax, dword [esp + 0x20]
push eax
push 8
push ecx
push edx
call dword [0x49b060]
mov edx, dword [esp + edi*4 + 0x98]
mov ecx, dword [esp + edi*4 + 0x498]
mov dword [esp + 0x5c], ecx
sub ecx, edx
add ecx, 0x140
lea ecx, [ecx + ecx*2]
shl ecx, 1
mov dword [esp + 0x2c], ecx
mov ecx, edx
mov dword [esp + 0x70], edx
sub ecx, dword [esp + 0x5c]
mov edx, dword [esp + edi*4 + 0x1398]
shl ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + edi*4 + 0xc98]
sub ecx, edx
shl ecx, 1
test ecx, ecx
mov eax, 0x3c18
jle 0x42e163
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x42e140
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub ebx, ecx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ecx
jmp 0x42e0a2
mov ebx, dword [esp + 0x28]
cmp byte [ebx + edx], 0
jne 0x42e115
mov ecx, dword [esp + 0x20]
movzx ebx, byte [eax + ecx - 0x780]
movzx ecx, byte [eax + ecx - 3]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 0x780]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 3]
add ebx, ecx
je 0x42e0dd
mov word [edi], 0x3def
jmp 0x42e11d
mov ecx, dword [esp + 0x20]
mov word [edi], 0
movzx ebx, byte [eax + ecx - 0xf00]
movzx ecx, byte [eax + ecx - 6]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 0xf00]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 6]
add ebx, ecx
setne cl
mov byte [edx], cl
jmp 0x42e120
mov cx, word [esp + 0x78]
mov word [edi], cx
mov byte [edx], 1
mov ecx, dword [esp + 0x30]
add eax, 3
add edx, 3
add edi, 2
dec ecx
mov dword [esp + 0x30], ecx
jne 0x42e09e
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x34]
add edx, 0x500
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ecx
jne 0x42e073
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
lea ecx, [edx + eax]
mov eax, dword [esp + edi*4 + 0x898]
mov edx, dword [esp + 0x3c]
neg eax
add edx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x84], edx
mov edx, dword [esp + edi*4 + 0x1398]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + edi*4 + 0xc98]
cmp edx, eax
mov dword [esp + 0x10], 0x3c18
mov dword [esp + 0x18], ecx
jge 0x42e328
mov edi, dword [esp + edi*4 + 0xc98]
lea eax, [edx + edx*4]
shl eax, 7
sub edi, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], edi
lea ebx, [ebx]
mov edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
jge 0x42e2f1
mov edi, dword [esp + 0x14]
mov edi, dword [esp + edi*4 + 0x98]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x10]
cmp byte [ebx + edi], 0
je 0x42e2c9
add eax, edx
shl eax, 1
movzx edx, word [esi + eax*2 + 0x500]
movzx edi, word [esi + eax*2 + 2]
movzx ecx, word [esi + eax*2 + 0x502]
movzx eax, word [esi + eax*2]
mov ebx, eax
mov dword [esp + 0x34], edi
and edi, 0x1f
and ebx, 0x1f
add ebx, edi
mov esi, edx
and esi, 0x1f
add ebx, esi
mov edi, eax
mov esi, ecx
and esi, 0x1f
add ebx, esi
and edi, 0x7c00
mov esi, ecx
and esi, 0x7c00
add esi, edi
mov edi, dword [esp + 0x34]
and edi, 0x7c00
add esi, edi
mov edi, edx
and edi, 0x7c00
add esi, edi
sar esi, 2
sar ebx, 2
and esi, 0x7c00
and eax, 0x3e0
and ebx, 0x1f
or ebx, esi
mov esi, dword [esp + 0x34]
and esi, 0x3e0
add eax, esi
mov esi, dword [esp + 0x88]
and edx, 0x3e0
add eax, edx
mov edx, dword [esp + 0x68]
and ecx, 0x3e0
add eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 2
and eax, 0x3e0
or ebx, eax
mov eax, dword [esp + 0x90]
mov word [eax + ecx*2], bx
mov eax, dword [esp + 0x54]
mov byte [ecx + edx], 0xff
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
add edi, 6
inc ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x80]
inc edx
cmp edx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
jl 0x42e1f4
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x10]
add ecx, edx
mov edx, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x28]
add eax, 0x280
dec edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], edx
jne 0x42e1d0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + edi*4 + 0x898]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
inc edi
add ecx, 3
cmp edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
jl 0x42df80
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x42e388
mov ecx, dword [ebx + 0x3dc]
push eax
push ecx
call dword [0x49b04c]
mov edx, dword [ebx + 0x428]
push edx
call dword [0x49b054]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x540], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ebx + 0x53c], eax
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x554], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x544], edx
mov dword [ebx + 0x550], eax
call fcn.00447640
mov ecx, dword [ebp + 8]
call fcn.00447640
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8